Martin Thoma
2316195b30
Python: Add type annotations
2022-03-20 19:16:39 +01:00
Martin Thoma
69e6fdeef0
Add Python tests
2022-03-19 12:20:57 +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
Martin Thoma
dbed6ba98e
Clean Code: Python
...
Fix issues found by flake8-bugbear:
* Unused loop variables
* assert statements in non-test code
* mixing test code with production code
* mark one excessive test which takes ~10min to run
as 'slow'
2022-03-18 14:59:08 +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
Martin Thoma
e5f36993e8
MAINT: Apply 'pre-commit run --all' and fix issues
2022-03-10 06:59:21 +01: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
Zev Spitz
0a07132daf
Rename some projects to match game name
2022-01-17 15:29:38 +02:00
Zev Spitz
8a2f251c40
Add sln and csroj/vbproj files where missing
2022-01-16 08:17:31 +02:00
Alex Scown
fc2d834739
Fix unmatched quotes error
2022-01-09 14:29:39 +00:00
Alex Scown
b03f8c4dd3
Final tidy
2022-01-09 14:21:29 +00:00
Alex Scown
126e554e95
Move remaining functions into class
2022-01-09 14:21:29 +00:00
Alex Scown
30cedd2154
Initial conversion to class
2022-01-09 14:21:29 +00:00
Alex Scown
4409159e17
Remove k global
2022-01-09 14:21:29 +00:00
Alex Scown
4a76ee3db4
Fix AI
...
The issue was not resetting the clone array for every
test move.
Clarify some variable names. Shout out to Flavio
Poletti for the comments on the Perl translation.
2022-01-09 14:21:29 +00:00
Alex Scown
f461c19ea3
Initial port
...
Game works, but AI behaves differently to the original.
Need to try and remove the globals.
2022-01-09 14:21:29 +00:00
Flavio Poletti
f65412ab00
Update AI for Awari
2022-01-07 18:52:08 +01:00
Flavio Poletti
8088036c5c
Add Perl for 04_Awari
2022-01-06 20:37:25 +01:00
LukasMurdock
d67dc8d692
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
Erik Heemskerk
ecff7c5126
Add C# version of Awari
2022-01-02 19:44:06 +01: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