Martin Thoma
ac184fec42
Python: Type annotations
2022-04-02 10:56:43 +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
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
1b1d50986b
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
83b3dc402c
Python: Add type annotations
2022-03-20 19:16:39 +01:00
Jeff Atwood
635867429a
Merge pull request #655 from AnthonyMichaelTDM/rust-port-95_weekday
...
rust port of 95_weekday
2022-03-19 13:17:50 -05:00
AnthonyMichaelTDM
3d1c246fe2
finished rust port of 95_Weekday
2022-03-19 11:03:06 -07:00
Jeff Atwood
f40a1fc465
add Porting Notes to readme.md for each game
2022-03-18 19:50:22 -07:00
Martin Thoma
f52d9a0e54
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
AnthonyMichaelTDM
90e1aa334f
more work with weekdays
2022-03-17 13:30:17 -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
AnthonyMichaelTDM
9d96f04bde
more work porting, day of week calculation works
2022-03-15 13:29:55 -07:00
Alexander Wunschik
f2b3d6f2ed
add terminal-stylesheet for javascript html
2022-03-13 11:23:05 +01:00
AnthonyMichaelTDM
2256df389f
started rust port of 95_weekday
2022-03-11 13:45:24 -08:00
Martin Thoma
6dde69f274
Python: Fix Flake8 issue E712 + PEP8 variable naming
2022-03-11 21:42:23 +01:00
Martin Thoma
4adb34f25c
Python: Fix code style issues
2022-03-11 07:44:56 +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
Steve Bosman
9a76fa76fb
95 Weekday - move methods into appropriate? scopes or classes
2022-02-06 22:40:07 +00:00
Steve Bosman
b981f2b9de
95 Weekday - move methods into appropriate? scopes or classes
2022-02-06 22:38:56 +00:00
Steve Bosman
463351287e
95 Weekday - move methods into appropriate? scopes or classes
2022-02-06 21:53:50 +00:00
Steve Bosman
a599e47e3d
95 Weekday - reduce use of lambdas; add a single method for tidying up values
2022-02-06 00:10:37 +00:00
Steve Bosman
9fe585c94a
Merge branch 'coding-horror:main' into main
2022-02-05 22:32:36 +00:00
Steve Bosman
277ab47019
95 Weekday - move functions into classes
2022-02-03 23:44:23 +00:00
Steve Bosman
0434ac8fd4
95 Weekday - move date functions into DateStruct
2022-02-02 23:11:27 +00:00
Steve Bosman
8e9ed09ce3
95 Weekday - introduce classes for durations and dates
2022-02-01 00:10:47 +00:00
Steve Bosman
8a694ee30f
95 Weekday - introduce classes for durations and dates
2022-02-01 00:08:34 +00:00
Tom Wyant
1f84184b92
Port 95_Weekday to Perl.
2022-01-31 15:28:40 -05:00
Steve Bosman
78794d98bd
Merge remote-tracking branch 'origin/main'
2022-01-31 16:53:17 +00:00
Steve Bosman
84615c1a75
95 Workday - tidy-up time calculation to make it more readable
2022-01-31 16:52:55 +00:00
Steve Bosman
f5c954cc35
Merge branch 'coding-horror:main' into main
2022-01-31 12:08:04 +00:00
Steve Bosman
cd35451992
95 Workday - tidy up time calculation to make it more readable
2022-01-31 00:14:03 +00:00
roygilliam
7cea1454bf
Initial C# version of Weekday
2022-01-30 12:44:24 -05:00
Steve Bosman
a28a0adafa
95 Workday - break time spent calculation and printining into multiple parts
2022-01-30 12:13:00 +00:00
Steve Bosman
63f78550cd
95 Workday - introduce some comments, and methods; improve some variable names; spotted a bug
2022-01-30 09:59:11 +00:00
Steve Bosman
3583421ea5
95 Workday - remove warnings using const and let
2022-01-30 00:03:52 +00: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