Skip to content

rshah713/pygame-minis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pygame-minis

Rohan Shah

Mini Pygame programs with minimal user interaction to create small "doodles" or animations. Used to teach basic Pygame syntax.

Current Programs

  • Dancing Stick Figure: Use left & right arrow keys to move stick figure
  • Footsteps: click mouse on either side of screen to change footprint color
  • Flowers and Clouds: Mouseclick in the sky to draw clouds, or mouseclick in the grass to draw flowers
  • Essay Writer: Press any key to write the essay, page numbers keep track of pages cleared
  • UFO Chase: Move the mouse quickly to start the chase, colored lines will chase and follow through
  • Eat the Cookie: Click the screen to create 'bites' in the cookie
  • Feed the Kitty: Click anywhere to add food, cat's eyes follow mouse pos, enough food will make cat happy
  • Make-a-map: Mouseclick anywhere to place pushpin on map
  • Mirror Mouse: Move the mouse in any quadrant to watch other cursor's copy
  • Swing set: Use advanced math to have swingset follow mouse movement
  • Sun and Moon: Click to place sun, moon will follow
  • Pixel Art: Arrow keys to move painter, spacebar to place color, featuring file-streaming, console input to save/open previous drawings
  • Cell Reception: Mouse movement to move cell phone, bars light depending on mouse pos
  • Thermometer: Update temperature and adjust background based on mouseY, using basic math to ensure scaled reading
  • Bouncing ball: Mimic realistic ball bounce through mock "acceleration" and can be adjusted with mouseclick
  • Gridmaking: Basic animation of expanding grid
  • Tic-tac-toe: GUI tic-tac-toe keeping track of current player, and game states
  • Battleship: Battleship vs computer that allows ship creation and randomization firing
  • Doodle Dodge: Fully fledged game to dodge randomized obstacles, featuring circle/rect collision detection
  • Memory Match: Comprehensive app involving mouseclicks and game states
  • Tug of War: 2-player game using advanced math to calculate rope endpoints
  • Sunny Meadow: Animation of randomized flower position and size to mimic flower growth
  • Atari Breakout: Replica of Atari game using rect/circle collision and movement vectors
  • Mirrored Polygons: Click (minimum 3 times) on left side to create polygon, automatically mirrored, add infinity points to expand it
  • Caption the worm: Type to add text, automatically wraps text to nextline
  • Etch-a-Sketch: Arrow keys to move the cursor, space to clear the sketch
  • Barrier Game: Comprehensive game involving increasing speed, randomized barriers, score tracking, and collision detection
  • Air Hockey: Mousemotion to control paddle, advanced 'AI' opponent that tracks puck, vectorized puck movement
  • NBA Rebounding: Statistical graphic representation based on inputted data, creating graphs in pygame
  • Color Palette App: Sliders to create similar color collection, implementation of mousedrag, dynamic color-change
  • Volcano: Mouseclick to bring volcano closer to eruption
  • Dot Race: 2-player racing game using WASD and arrows, boundry collision detection to decide winner
  • Caps Lock Texting: Customizable texting UI, switch caps lock on/off via one variable, and customize messages in UI
  • Rock Paper Scissors: Keypress controlled rock paper scissors, featuring auto-calculated winner
  • Honey Pot: Mousepress to draw honey from pot, automatically adjusting linewidth based on mouseY
  • Reds: Basic animation of cycling RGB colors
  • Flashy: Basic animation of randomized circles
  • Bouncing Circle: Basic animation of circling bouncing at different speeds

Releases

No releases published

Packages

No packages published

Languages