Commit Graph

25 Commits

Author SHA1 Message Date
JoeStrout
8442755142 Added MiniScript version of 17_Bullfight. 2023-07-25 09:08:00 -07:00
Paul Holt
c9142a64bd Revert edits to bullfight.bas 2022-11-20 09:09:25 +11:00
Paul Holt
0f169d8e0c Comments on strange logic behind bullfight.bas 2022-11-20 09:05:16 +11:00
Paul Holt
b065179603 Add bullfight.bas implementation in kotlin 2022-11-20 09:05:15 +11:00
Paul Holt
486ca64b55 bullfight wip 2022-11-20 09:05:15 +11:00
Paul Holt
b5c4354e3d bullfight wip 2022-11-20 09:05:15 +11:00
Paul Holt
986c873271 bullfight added 2022-11-20 09:05:07 +11: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
Martin Thoma
ae0b6a5015 BUG: Hangman (Python) had a List-vs-Str comparison
MAINT: Add type annotations to find such issues
2022-03-31 10:33:11 +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
cac0e13650 Bullfight (Python): Refactoring
* Add Unit Test
* Add Type Annotations
* Use variable/function names
2022-03-25 10:30:23 +01:00
Martin Thoma
83b3dc402c Python: Add type annotations 2022-03-20 19:16:39 +01:00
Martin Thoma
8495e59a8f Python: Make code testable
Avoid executing code on module level as this prevents importing the
module for testing. Especially infinite loops are evil.
2022-03-19 09:54:52 +01: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
Alexander Wunschik
f2b3d6f2ed add terminal-stylesheet for javascript html 2022-03-13 11:23:05 +01:00
Martin Thoma
6dde69f274 Python: Fix Flake8 issue E712 + PEP8 variable naming 2022-03-11 21:42:23 +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
uMetalooper
abe199102c Bullfight added 2022-02-21 18:39:20 +00:00
Zev Spitz
827f2b0cb3 Simplify Bullfight (C#) folder structure 2022-01-17 09:07:59 +02:00
Zev Spitz
75def2707d Add sln and csroj/vbproj files where missing 2022-01-16 08:17:31 +02:00
LukasMurdock
76c5e1e995 add 17-96 2022-01-03 02:13:21 -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