Skip to content

A python implementation of the snake mobile game

Notifications You must be signed in to change notification settings

JJReyka/snake-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

a61e7d5 · Mar 8, 2021

History

21 Commits
Mar 8, 2021
Mar 8, 2021
Mar 8, 2021
Mar 8, 2021

Repository files navigation

SnakeGame

A basic implementation of the mobile game snake in python using curses to render the game in the terminal. Ideally this will be upgraded so I can try out PyGame!

Installing

  • Requirements: python 3.8+
  • Clone the repository with git clone [email protected]:JJReyka/snake-game.git
  • Enter the newly created directory and install with pip install .
  • Run the game with snake_game, try snake_game --help for additional options (game speed, 2 player)
  • If you see a warning on install saying The script is installed in <directory name>, which is not in PATH you may have to run the game with python -m snakegame.main instead.

Tested on Ubuntu and MacOS.

Controls

w,a,s,d - move (p1)

i,j,k,l - move (p2)

q - quit

space - pause

About

A python implementation of the snake mobile game

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages