mirror of
https://github.com/sqlalchemy/sqlalchemy.git
synced 2026-05-14 12:47:22 -04:00
1e1a38e780
This is a straight reformat run using black as is, with no edits applied at all. The black run will format code consistently, however in some cases that are prevalent in SQLAlchemy code it produces too-long lines. The too-long lines will be resolved in the following commit that will resolve all remaining flake8 issues including shadowed builtins, long lines, import order, unused imports, duplicate imports, and docstring issues. Change-Id: I7eda77fed3d8e73df84b3651fd6cfcfe858d4dc9
25 lines
375 B
Python
25 lines
375 B
Python
"""
|
|
A Space Invaders game using SQLite as the state machine.
|
|
|
|
Originally developed in 2012. Adapted to work in Python 3.
|
|
|
|
Runs in a textual console using ASCII art.
|
|
|
|
|
|
.. image:: space_invaders.jpg
|
|
|
|
|
|
To run::
|
|
|
|
python -m examples.space_invaders.space_invaders
|
|
|
|
While it runs, watch the SQL output in the log::
|
|
|
|
tail -f space_invaders.log
|
|
|
|
enjoy!
|
|
|
|
.. autosource::
|
|
|
|
"""
|