Skip to content

Latest commit

 

History

History
32 lines (25 loc) · 1.6 KB

README.md

File metadata and controls

32 lines (25 loc) · 1.6 KB

Mr Snake's Insatiable Appetite

A pixel based snake game set in a small window. You move a snake around using WASD or the arrow keys. Every fruit you eat grows your snake by 1 square and increases your score by 5. After every 50 points scored, an additional fruit will spawn on the screen, up to 10. There are different types of fruit to consume, including:

  • Purple: Basic, no special effect.
  • Blue: Double Score, worth double points.
  • Pink: Shrink, snake becomes 1 square smaller.
  • Cyan: Speed Up, snake moves faster.
  • Orange: Speed Down, snake moves a little slower.
  • Red: Grow, snake grows twice as much.
  • Rainbow: Party, temporarily gain a big speed boost, double score, and fun effects!
    • NOTE: Fun effects do NOT include flashing colors, simply a color palette swap.

Try to get the highest score possible!

Instructions

  1. To run you need to download python here AND pygame here

  2. Download Mr_Snake_Game.py and snake.ico and place in an approriate folder.

  3. Open a command prompt and change to the directory of the folder.

  4. Use this command to start the game:

    python Mr_Snake_Game.py

Screenshots:

snake game rainbowsnake

Known Bugs:

  • Pressing 2 keys at once can make the snake reverse it's direction, causing non-intended game overs.
  • Sometimes fruits spawn on top of each other or on the snake