Samuel Sloniker
b91481f685
Move saved-game deletion to separate file
2 years ago
Samuel Sloniker
2715d1992f
Add recovery instructions for saved-game deletion
2 years ago
Samuel Sloniker
74035ad320
Format code with black
2 years ago
Samuel Sloniker
39ff3a5672
Prepare for packaging
3 years ago
Samuel Sloniker
5a2802ddae
Improve command-line handling and make game-save deletion recoverable
3 years ago
Samuel Sloniker
5f5f487689
Add stty module and replace os.system
3 years ago
Samuel Sloniker
de5850351b
Don't use FileNotFoundError for other errors
3 years ago
Samuel Sloniker
eef561d885
Remove --length option
...
If I add a leaderboard, changing the length could interfere with
statistics.
3 years ago
Samuel Sloniker
6885f0dc57
Improve command-line processing
3 years ago
Samuel Sloniker
6b795b5066
More code layout improvements
3 years ago
Samuel Sloniker
80f9d5f342
Game saving
3 years ago
Samuel Sloniker
a9e6a76f8e
Move repeated code to functions
3 years ago
Samuel Sloniker
d5a534a173
Rearrange code again
3 years ago
Samuel Sloniker
b88c3b648a
Rearrange code, and improve xterm compatibility
3 years ago
Samuel Sloniker
b22a6e2fea
Styling improvements
3 years ago
Samuel Sloniker
f26a99d53d
Create LICENSE
3 years ago
Samuel Sloniker
91c7352671
Various improvements
3 years ago
Samuel Sloniker
76c9dc37b7
Replace C version with Python
...
This is a (slightly buggy) Python port of Worm. The only change from bsdgames
worm (other than the programming language and any bugs that were added or
fixed) is that WASD is now supported.
3 years ago
Samuel Sloniker
1772e8df6d
Pythonify run_size(); add void set_size(int size)
3 years ago
Samuel Sloniker
8f500085dc
Pythonify main()
3 years ago
Samuel Sloniker
c907d10c6a
Build as shared library
...
This is needed for Pythonification
3 years ago
Samuel Sloniker
a7a25738cf
Split up startup
...
This allows for easier Pythonification
3 years ago
Samuel Sloniker
8f233afc83
New Makefile and gitignore; update copyright; make code compile
...
No install capability in this Makefile; this is just a development
version.
3 years ago
Samuel Sloniker
1a9102b667
Initial commit
...
Plain bsdgames source
3 years ago