-
Notifications
You must be signed in to change notification settings - Fork 2
martinjos/PySnake
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Simple "snake" game =================== To run ------ On UNIX-like systems: ./snake_tkinter_game.py OR ./snake_curses_game.py On other systems: python snake_tkinter_game.py OR python snake_curses_game.py Notes ----- The game may not be much to look at at the moment, but I think you may find some aspects of the code interesting. Notable code features --------------------- * An example of Object-Oriented Python code (& the only example of this so far in my Git repository). * An example of the Observable design pattern. * An example of the use of basic MVC concepts. * The two alternative versions of the program (Curses and Tkinter) both use the same model code (game.py, snake.py & numbers.py). Further work ------------ * Make the controller (_game.py) shared between versions? * Implement walls & collisions. * Improve graphics & efficiency of Tkinter version.
About
OO Python-based "snake" game demonstrating the MVC design pattern
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published