Commit Graph

1945 Commits

Author SHA1 Message Date
Martin Thoma
cd84d6b9b1 Make empty box the default 2022-03-20 17:36:17 +01:00
Martin Thoma
5fdad42a60 Update to new languages 2022-03-20 15:23:47 +01:00
Martin Thoma
d41051f26c Fix TODO list generation for C# 2022-03-20 12:57:33 +01:00
Jeff Atwood
b95a514e84 Merge pull request #654 from MartinThoma/py-testability
Python: Make code testable
2022-03-19 13:21:17 -05: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
Martin Thoma
8de3176348 Add Python tests 2022-03-19 12:20:57 +01:00
Martin Thoma
157446f209 Don't compute code coverage on test files 2022-03-19 11:57:25 +01:00
Martin Thoma
3c3c725393 Avoid global variables 2022-03-19 10:13:47 +01:00
Martin Thoma
82cc6801b7 Acey Ducey: Fix bankroll issue 2022-03-19 10:01:20 +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
Jeff Atwood
ef60738c60 Update README.md 2022-03-18 18:58:25 -07:00
Jeff Atwood
b833862182 Merge pull request #653 from MartinThoma/simplify-python
Clean Code: Apply flake8-simplify to Python
2022-03-18 17:21:26 -05:00
Jeff Atwood
cd52f57914 Merge pull request #652 from mojoaxel/74-bash
alternate language - bash for 74_Rock_Scissors_Paper
2022-03-18 16:31:11 -05: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
Alexander Wunschik
cb2f80868a add bash for 74_Rock_Scissors_Paper 2022-03-18 22:10:49 +01:00
Jeff Atwood
d43ec589c8 Merge pull request #631 from mojoaxel/gh-pages
make games easy accessable on the web
2022-03-18 11:15:00 -05:00
Jeff Atwood
4558ec74cb Merge pull request #649 from mojoaxel/648-78_Sine_Wave-html
add html for 78_Sine_Wave
2022-03-18 11:14:42 -05:00
Jeff Atwood
489de52aaf Merge pull request #650 from arjieng/ruby-bug-game
Ruby version for #16 Bug game
2022-03-18 10:55:55 -05:00
Jeff Atwood
b3c90cf751 Merge pull request #651 from MartinThoma/python-bugbear
Clean Code: Python flake8-bugbear
2022-03-18 10:51:32 -05: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
Argie Bacomo
e897bb62aa Ruby version for #16 Bug game 2022-03-18 17:28:12 +08:00
AnthonyMichaelTDM
90e1aa334f more work with weekdays 2022-03-17 13:30:17 -07:00
Alexander Wunschik
07ef4d9dc0 add html for 78_Sine_Wave 2022-03-17 20:19:29 +01:00
Alexander Wunschik
34e0737d1f support multible html files per game 2022-03-17 20:16:51 +01:00
Alexander Wunschik
933609a7c3 disable jekyll in gh-pages 2022-03-17 20:16:51 +01:00
Alexander Wunschik
fe07ab2589 create index.html for all games 2022-03-17 20:16:51 +01:00
Jeff Atwood
f7deaba4a1 Merge pull request #646 from MartinThoma/py-golf
39_golf: Python implementation
2022-03-17 12:31:11 -05:00
Jeff Atwood
e8cfc67052 Merge pull request #647 from MartinThoma/py-cleanup
Python: Code cleanup
2022-03-17 12:29:20 -05:00
Martin Thoma
030d61b85f 39_golf: Python implementation 2022-03-17 09:53:23 +01:00
Martin Thoma
dc511472da Python: Code cleanup 2022-03-17 07:51:10 +01:00
Jeff Atwood
bbd9332569 Merge pull request #643 from ChanderJindal/main
TicTacToe Hard
2022-03-16 11:34:12 -05:00
Jeff Atwood
dc3a64335a Merge pull request #644 from auryn31/feature/01_Acey_Ducey
Add Acey Ducey in Elm to Alternative Languages
2022-03-16 11:33:35 -05:00
Jeff Atwood
7c2c41d2ab Merge pull request #645 from auryn31/feature/04_Awari
Add implementation of Awari to Alternative languages
2022-03-16 11:33:07 -05:00
Auryn Engel
c797d9655f add elm for Awari 2022-03-16 09:58:40 +01:00
Auryn Engel
aab72fc572 add elm for Acey Ducey 2022-03-16 09:54:04 +01:00
Auryn Engel
7da5cdb12b remove elm from main; 2022-03-16 09:50:13 +01:00
Auryn
2701ac84f0 Merge branch 'coding-horror:main' into main 2022-03-16 09:48:54 +01:00
Chander Jindal
95720c4d4a Single Player TicTacToe Hard
In this one at best you can Tie, you will not Win.
2022-03-16 13:10:46 +05:30
Chander Jindal
f1878b2b63 Delete 89_Tic-Tac-Toe/python/TicTacToe_exe directory 2022-03-16 12:30:15 +05:30
Chander Jindal
e91550c1ab Merge branch 'coding-horror:main' into main 2022-03-16 12:29:26 +05:30
Jeff Atwood
b97e98fa0f Merge pull request #637 from aquilax/patch-1
Adds Sine Wave Pascal implementation
2022-03-15 23:56:40 -05: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
aquilax
c416b423be Moved SineWave Pascal implementation to Alternative Languages 2022-03-16 05:47:45 +01:00
Jeff Atwood
f4613dab05 remove copy/pasted ports from alternate languages 2022-03-15 21:40:04 -07:00
Evgeniy Vasilev
1b22618933 Merge branch 'coding-horror:main' into patch-1 2022-03-16 05:32:09 +01:00
Jeff Atwood
a1af4fd89f add readmes to folders 2022-03-15 21:04:23 -07:00
Jeff Atwood
2b27c23528 Merge branch 'main' of https://github.com/coding-horror/basic-computer-games into main 2022-03-15 20:49:22 -07:00
Jeff Atwood
43f2ec013a add 00_Alternate_Langage folder and move alternate ports there 2022-03-15 20:49:07 -07:00