Martin Thoma
eb3127f589
Checkers (Python): Check if field has valid moves
...
Introduces a new error message:
({start_x}, {start_y}) has no legal moves. Choose again.
Closes #677
Additionally, add type annotations
2022-03-24 14:44:23 +01:00
Martin Thoma
36fc186d2d
Python: Add type annotations to all 'print' functions ( #662 )
...
* Add test to superstartrek and fixes several issues in superstartrek - I probably introduced them 🙈
* Mastermind type annotations
2022-03-21 10:41:14 +01:00
Martin Thoma
2316195b30
Python: Add type annotations
2022-03-20 19:16:39 +01:00
Jeff Atwood
473e20c181
add Porting Notes to readme.md for each game
2022-03-18 19:50:22 -07:00
Martin Thoma
b65dca80f6
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
3cfb409b36
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
3c76ebe024
add 00_Alternate_Langage folder and move alternate ports there
2022-03-15 20:49:07 -07:00
Alexander Wunschik
53ebb09c1c
add terminal-stylesheet for javascript html
2022-03-13 11:23:05 +01:00
Joe
89600d2920
fixed typo
...
"THe" to "The"
2022-03-12 15:44:45 +00:00
Martin Thoma
596aa6760f
Python: Fix code style issues
2022-03-11 07:44:56 +01:00
Martin Thoma
e5f36993e8
MAINT: Apply 'pre-commit run --all' and fix issues
2022-03-10 06:59:21 +01:00
Jeff Atwood
375eb83002
Merge pull request #603 from MartinThoma/apply-pre-commit
...
MAINT: Apply pre-commit
2022-03-05 14:30:55 -06:00
pdagosta
40f3f40f0b
comment change
2022-03-05 11:10:14 -06:00
pdagosta
5d37de5769
working version
2022-03-05 11:07:45 -06:00
Martin Thoma
93e1a78363
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
pdagosta
ee05a82f43
initial compilable version
2022-03-05 02:24:44 -06:00
Zev Spitz
8a2f251c40
Add sln and csroj/vbproj files where missing
2022-01-16 08:17:31 +02:00
LukasMurdock
8e59a0c419
add 17-96
2022-01-03 02:13:21 -05:00
Chris Reuter
e69a42b6bc
Bug fix for Ruby version of Checkers
...
We were using the result of Board.make_move!() to determine whether
the current player could jump again. This worked by accident but was
not part of the specified interface.
I've changed the code to ignore the return value and instead query the
move object itself.
2021-11-29 13:37:56 -05:00
Chris Reuter
5f664bc71d
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