33 Commits

Author SHA1 Message Date
Sourcery AI
71d02673a9 'Refactored by Sourcery' 2024-08-19 03:46:27 +03:00
JoeStrout
382df64a77 Added MiniScript version of 27_Civil_War. 2023-07-30 21:18:59 -07:00
Kit Roed
5492da4c00 Update README.md
Fix typo.
2022-05-09 10:44:32 -05:00
Martin Thoma
f1bc9d8551 Civil War (Python): Fix variable names 2022-04-02 14:24:03 +02:00
Martin Thoma
dae338c236 Civil War (Python): Fix bug + type annotations 2022-04-02 09:16:11 +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
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
af88007734 Python: Fix Flake8 E722 and E741
Additionally:

* Use functions to group blocks of code
* Use variable names (not just one character...)
2022-03-12 08:17:03 +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
33008a1a68 Civil War Python added 2022-02-27 21:57:41 +00:00
Zev Spitz
d4fac2463e Simplify CivilWar (C#) folder structure 2022-01-17 08:19:24 +02:00
Zev Spitz
75def2707d Add sln and csroj/vbproj files where missing 2022-01-16 08:17:31 +02:00
Andrew Regan
e43300a23e Refactor 2022-01-16 00:10:40 +00:00
Andrew Regan
32f506a9c7 R => local 2022-01-16 00:01:21 +00:00
Andrew Regan
373905adb2 Refactor / rework Union strategy for simulation 2022-01-15 23:59:42 +00:00
Andrew Regan
7fc9a1d8dc Changed in error 2022-01-15 23:52:09 +00:00
Andrew Regan
416033b8e0 Improve battle number validation 2022-01-15 23:46:21 +00:00
Andrew Regan
b530057278 More robust validation 2022-01-15 23:34:11 +00:00
Andrew Regan
c256a7b0fb Fix budget validation; restore "keep same allocations" 2022-01-15 22:54:13 +00:00
Andrew Regan
48edb2c5d7 Make more readable 2022-01-15 22:43:28 +00:00
Andrew Regan
f2385b5342 Merge branch 'coding-horror:main' into main 2022-01-15 22:40:47 +00:00
Andrew Regan
32efeeb4fe Refactor 2022-01-15 22:40:17 +00:00
Andrew Regan
2e82f08efd Improve encapsulation 2022-01-15 22:11:45 +00:00
Andrew Regan
1085d282ff Clean up YES/NO input and validation 2022-01-15 16:32:12 +00:00
Andrew Regan
518562645a Initial 2022-01-05 00:00:36 +00:00
LukasMurdock
76c5e1e995 add 17-96 2022-01-03 02:13:21 -05:00
Andrew Regan
6c9e90752f Create .gitignore 2022-01-02 22:37:49 +00:00
Andrew Regan
e5c7625101 Typo vs. original listing screenshot 2022-01-02 22:31:41 +00: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