28 Commits

Author SHA1 Message Date
amjad
a20b3ff31f Merge branch 'sourcery/main' of https://github.com/amjadkofahi/basic-computer-games into sourcery/main 2024-08-19 04:09:55 +03:00
Sourcery AI
71d02673a9 'Refactored by Sourcery' 2024-08-19 03:46:27 +03:00
apeng2012
e893704987 Port 09_Battle to Rust 2023-12-29 06:38:02 +08:00
JoeStrout
e8212bc2f3 Initial implementation of 09_Battle in MiniScript. 2023-07-12 16:29:11 -07:00
JoeStrout
85ee2c3875 Added MiniScript version of 08_Batnum; also updated a couple of READMEs. 2023-07-12 07:23:30 -07:00
Juan Marco
4e289c5e89 Add missing semicolons 2022-06-27 15:17:51 +02:00
Juan Marco
6fd5e03482 Fix NaN input for Battle 2022-06-22 10:18:44 +02:00
Martin Thoma
17a75813b1 Remove tests and alternative Python implementations
Ad discussed here:
https://github.com/coding-horror/basic-computer-games/issues/548#issuecomment-1081008471
2022-03-29 07:02:10 +02:00
Martin Thoma
f192a3db36 Python: Add test for 9 / 10 / 11 / 12 2022-03-22 21:26:52 +01:00
Martin Thoma
83b3dc402c Python: Add type annotations 2022-03-20 19:16:39 +01:00
Jeff Atwood
f40a1fc465 add Porting Notes to readme.md for each game 2022-03-18 19:50:22 -07:00
Jeff Atwood
6f6ac93d1f Merge pull request #633 from mojoaxel/js-terminal-style
Add "nice" terminal style stylesheet for javascript html
2022-03-15 23:50:18 -05:00
Jeff Atwood
43f2ec013a add 00_Alternate_Langage folder and move alternate ports there 2022-03-15 20:49:07 -07:00
Martin Thoma
0ba0307767 Python: Fix linting issues
The following Flake8 issues were fixed:

* W291
* W504

* F821
* F401
* F541

* E402
* E711
2022-03-14 13:13:20 +01:00
Alexander Wunschik
f2b3d6f2ed add terminal-stylesheet for javascript html 2022-03-13 11:23:05 +01:00
Martin Thoma
e64fb6795c MAINT: Apply pre-commit
Remove byte-order-marker pre-commit check as there would be
many adjustments necessary
2022-03-05 09:29:23 +01:00
openback
9f9cdc3781 09_Battle/python - Add OO version 2022-01-20 21:06:27 -05:00
openback
ed0dcb5add 09_Battle/python - Add multi-line strings and *args 2022-01-20 21:05:43 -05:00
openback
1aa0fa1a24 Add Battle in python 2022-01-18 00:26:34 -05:00
Zev Spitz
75def2707d Add sln and csroj/vbproj files where missing 2022-01-16 08:17:31 +02:00
andrew
ea5c2cf72d Comment the input class 2022-01-10 20:26:50 +00:00
andrew
0614831f46 Add comments to the sea class 2022-01-10 20:22:14 +00:00
andrew
49be31b8e2 Add some comments 2022-01-10 20:15:15 +00:00
andrew
8e88e25d6c Classes in own files 2022-01-10 19:46:37 +00:00
andrew
c074beaf42 pull out input parsing 2022-01-10 19:38:23 +00:00
andrew
420597dbcf First cut java battleships 2022-01-10 19:21:15 +00:00
LukasMurdock
7e3304c907 add 1-16
16:Bug
“If you elect to see all the pictures, this program has the ability of consuming well over six feet of terminal paper per run. We can only suggest recycling the paper by using the other side.”
2022-01-02 19:06:19 -05:00
Chris Reuter
d26dbf036a Removed spaces from top-level directory names.
Spaces tend to cause annoyances in a Unix-style shell environment.
This change fixes that.
2021-11-21 18:30:21 -05:00