2715d1992f
Add recovery instructions for saved-game deletion
2022-03-08 13:23:59 -08:00
74035ad320
Format code with black
2022-03-08 13:19:35 -08:00
39ff3a5672
Prepare for packaging
2021-09-13 14:44:24 -07:00
5a2802ddae
Improve command-line handling and make game-save deletion recoverable
2021-08-30 09:57:12 -07:00
5f5f487689
Add stty module and replace os.system
2021-08-30 09:22:06 -07:00
de5850351b
Don't use FileNotFoundError for other errors
2021-08-30 08:54:51 -07:00
eef561d885
Remove --length option
...
If I add a leaderboard, changing the length could interfere with
statistics.
2021-08-30 08:50:53 -07:00
6885f0dc57
Improve command-line processing
2021-08-30 08:50:02 -07:00
6b795b5066
More code layout improvements
2021-08-21 16:31:41 -07:00
80f9d5f342
Game saving
2021-08-21 16:14:26 -07:00
a9e6a76f8e
Move repeated code to functions
2021-08-20 16:44:31 -07:00
d5a534a173
Rearrange code again
2021-08-20 12:05:28 -07:00
b88c3b648a
Rearrange code, and improve xterm compatibility
2021-08-20 11:35:12 -07:00
b22a6e2fea
Styling improvements
2021-08-20 11:28:50 -07:00
f26a99d53d
Create LICENSE
2021-08-20 11:18:07 -07:00
91c7352671
Various improvements
2021-08-19 15:27:22 -07:00
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.
2021-08-19 13:53:47 -07:00
1772e8df6d
Pythonify run_size(); add void set_size(int size)
2021-08-18 13:48:45 -07:00
8f500085dc
Pythonify main()
2021-08-18 13:44:50 -07:00
c907d10c6a
Build as shared library
...
This is needed for Pythonification
2021-08-18 13:41:40 -07:00
a7a25738cf
Split up startup
...
This allows for easier Pythonification
2021-08-18 13:14:07 -07:00
8f233afc83
New Makefile and gitignore; update copyright; make code compile
...
No install capability in this Makefile; this is just a development
version.
2021-08-18 12:59:42 -07:00
1a9102b667
Initial commit
...
Plain bsdgames source
2021-08-18 12:12:59 -07:00