Commit Graph

2255 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
Andrew Cooper 4fb62ce30c Update 82_Stars with common library 2022-03-20 17:25:33 +11:00
roygilliam 73b29ef7ab Initial C# conversion 2022-03-19 19:12:16 -04:00
AnthonyMichaelTDM a24171ad59 finish rust port of 22_Change 2022-03-19 14:20:52 -07:00
AnthonyMichaelTDM dc427a71dd added another feature
now shows how many games/languages are done for each language/game respectively
2022-03-19 11:46:17 -07:00
AnthonyMichaelTDM 1d494e999a update the included languages 2022-03-19 11:28:03 -07:00
Jeff Atwood b95a514e84 Merge pull request #654 from MartinThoma/py-testability
Python: Make code testable
2022-03-19 13:21:17 -05:00
AnthonyMichaelTDM 74534d14c4 rename it, it was mardown, should be markdown 2022-03-19 11:18:07 -07: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
Dave Burke cdf194f770 Remove redundant Card record code
Java Records automatically acquire an implementation of equals and
hashCode that accounts for their components. They also have read
accessors for their components (card.suit() to get the suit).
2022-03-18 17:01:06 -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
Mitch Peck 0b1f809707 Clean up comments and convert Card to a record 2022-03-18 12:52:14 -05: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
Andrew Cooper d6ddc6bf9e Use common library in Love 2022-03-18 07:33:28 +11:00
AnthonyMichaelTDM 90e1aa334f more work with weekdays 2022-03-17 13:30:17 -07:00
Andrew Cooper 1a8ea5aabd Convert Hexapawn to common library 2022-03-18 07:05:27 +11: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
Mitch Peck 88202ec9be Fix dealer initialization 2022-03-16 21:27:37 -05: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