Skip to content

jcloward13/sc7-Snake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Snake

How many apples can a snake eat before it gets too big? Play this arcade classic to find out! The rules are simple. Move the snake with the W, A, S, D keys. Every time you eat an apple the snake grows. If you run into yourself the game is over.

Getting Started


Make sure you have Python 3.8.0 or newer and asciimatics 1.12.0 or new installed and running on your machine. You can install Asciimatics by opening a terminal and running the following command.

python3 -m pip install asciimatics

After you've installed the required libraries, open a terminal and browse to the project's root folder. Start the program by running the following command.

python3 snake 

You can also run the program from an IDE like Visual Studio Code. Start your IDE and open the project folder. Select the main module inside the hunter folder and click the "run" icon.

Project Structure


The project files and folders are organized as follows:

root                    (project root folder)
+-- snake               (source code for game)
  +-- game              (specific game classes)
  +-- __init__.py       (python package file)
  +-- __main__.py       (entry point for program)
+-- README.md           (general info)

Required Technologies


  • Python 3.8.0
  • Asciimatics 1.12.0

Authors


About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages