21 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
JoeStrout
f7db28ec30 Added MiniScript version of 88_3-D_Tic-Tac-Toe.
(Also fixed a bug in the JavaScript port.)
2023-10-18 13:53:57 -07:00
Andrei Ursu
6e1d38918a Fix qubit.py
Changed the following lines:
284: typo of function call.
316: typo of function call.
2022-09-05 23:52:21 +02:00
Martin Thoma
e17388d072 Use NamedTuple; Fix camelCase->snake_case 2022-04-02 11:22:40 +02:00
Martin Thoma
ac184fec42 Python: Type annotations 2022-04-02 10:56:43 +02:00
Martin Thoma
a2645f97f6 Fix broken shebang 2022-04-02 08:33:31 +02:00
Martin Thoma
c500424956 Simplify Python Code
print_with_tab / print_with_whitespace is trivial with Python
string formatting and was mostly used in only 2 lines.
2022-04-02 07:32:09 +02:00
Jeff Atwood
f40a1fc465 add Porting Notes to readme.md for each game 2022-03-18 19:50:22 -07:00
Martin Thoma
3b2739b8a2 Clean Code: Apply flake8-simplify to Python
Also flake8-comprehensions which was added to the CI

For flake8-simplify, there are a few false-positives,
e.g. https://github.com/MartinThoma/flake8-simplify/issues/115
2022-03-18 22:29:56 +01: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
Jeff Atwood
7a2929f55d Update README.md
add notes about difficulty of porting 3d tic tac toe due to extensive use of `GOTO` for complex logic.
2022-01-19 18:41:24 -08:00
Noah Pauls
c85a1ba06e updated comments with better details 2022-01-17 19:47:44 -08:00
Noah Pauls
d05bdd13e7 completed csharp version 2022-01-17 18:06:22 -08:00
Zev Spitz
75def2707d Add sln and csroj/vbproj files where missing 2022-01-16 08:17:31 +02:00
LukasMurdock
e9ce521016 save 3-D tic-tac-toe 2022-01-03 06:49:10 -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