Skip to content

Latest commit

 

History

History
12 lines (10 loc) · 552 Bytes

README.md

File metadata and controls

12 lines (10 loc) · 552 Bytes

This is a simple snake game made in python3

HOW TO USE:

  • Have python installed on your machine
  • Download snake.py and highscore.txt and place them in the same directory
  • Run the game via terminal using $python3 snake.py

HOW TO PLAY:

  • The game will start by spawning the food (red) and the snake (white) in a random location on the board
  • To change the snake's direction simply use the arrow keys
  • To pause and unpause the game press the escape key
  • The goal is to eat food and avoid eating yourself or moving off of the board