python-console-snake icon indicating copy to clipboard operation
python-console-snake copied to clipboard

Lightweight snake game running in the console

Results 21 python-console-snake issues
Sort by recently updated
recently updated
newest added

this commit was generated automatically on repl.it nice! please consider adding a run on repl.it badge! it will look like this: https://repl.it/@MaddoxPealock/python-console-snake

The [parser](https://github.com/tancredi/python-console-snake/blob/master/snake/parser.py) module uses the [optparse](https://docs.python.org/3/library/optparse.html) Python module, which is deprecated and should be replaced by [argparse](https://docs.python.org/3/library/argparse.html).

If you specify a theme name in the CLI that doesn't exist the program fails with a `KeyError`, e.g. ```python $ python3 snake -t classi Traceback (most recent call last):...

This project uses the [curses](https://docs.python.org/3/howto/curses.html) module. Unlike other Python games that use, e.g. PyGame. This fact is worth mentioning in the README. Could you add this information to the README?

Added more comfortable key bindings for vi users and uppercase variant for quit

Fixes the following game-breaking error on Ubuntu (python 2.7.6): ``` File "snake/graphics.py", line 16, in drawTile screen.addstr(y, x, tile, color) _curses.error: addstr() returned ERR ``` See this thread for more...

Traceback (most recent call last): File "/usr/local/lib/python3.3/runpy.py", line 160, in _run_module_as_main "__main__", fname, loader, pkg_name) File "/usr/local/lib/python3.3/runpy.py", line 73, in _run_code exec(code, run_globals) File "snake/__main__.py", line 2, in import graphics...