Skip to content

JamesDanielDA/snake_game

Repository files navigation

Snake Game

A simple snake game built to demonstrate coding skills

Requrements

Operating System : Linux , Python = 3.x , pygame==2.0.1

Installation

Fork This Repository

a. Fork this repository. Forking it will make it availible in your github account. An alternative is to download the repository as zip folder

b. After forking clone the repository to your computer

c. Install pygame (typically in a virtual environment) if not installed in you computer

d. From inside the root directory run 'main.py'

Playing Instructions

Goal of the Game

Achieve maximum score by eating food that appears randomly on the screen

Time Out if..

  1. If the snake hits any of the four walls, the player fails that level
  2. The same rule is applied if snake bites any part of its own body

Score more

  1. Each time snake eats food score increases by 10
  2. In each level snake gets food five times.
  3. If a level is completed, the score upto that leve is retained
  4. Snake's speed increases as the level of game increases
  5. Try and see what level you can reach and beat your maximum score
  6. Didn't like the background? Choose a background from the bottom of the game window

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages