GitXplorerGitXplorer
s

snake-python

public
3 stars
9 forks
2 issues

Commits

List of commits on branch master.
Unverified
036727b647242ad417cf36ade8a27ee8860a6a73

Snake revives after death

ssamertm committed 11 years ago
Unverified
e7204258b47ea03c7d869bf68ae6ddfe925337a0

Calculate time correctly

ssamertm committed 11 years ago
Unverified
031691c6e7767bda8c4dc12919240fa61f266266

Calculates framerate instead of calling sleep

ssamertm committed 11 years ago
Unverified
9ba4271c2d298f4c6a126f4420193f756925e6c0

IT WORKS

ssamertm committed 11 years ago
Unverified
5e8506d3b61475f0c322d3790ec82d232337a126

client sends data to server

ssamertm committed 11 years ago
Unverified
1a2d91439d10d85289c54261a8f06a9f30ca82c1

in progress

ssamertm committed 11 years ago

README

The README file for this repository.

Snake

About

This is a Snake game written in Python and Pygame.

Dependencies

  • Pygame (sudo apt-get install python-pygame on Debian/Ubuntu)

To install Pygame for Python 3, you should to download this experimental version and install the dependencies for Pygame:

sudo apt-get install python3-dev libsdl-image1.2-dev libsdl-mixer1.2-dev libsdl-ttf2.0-dev libsdl1.2-dev libsmpeg-dev python-numpy subversion libportmidi-dev

Then go to the folder that you extracted for Pygame and run sudo python3 setup.py install.

Usage

Simply run python game.py (or python3 game.py if you're using Python 3).

That wasn't too hard, was it? :)