Commit Graph

2179 Commits

Author SHA1 Message Date
Martin Thoma
9b90ba6133 STY: Adjust spaces / update Markdown TODO 2022-03-22 21:37:36 +01:00
Martin Thoma
f192a3db36 Python: Add test for 9 / 10 / 11 / 12 2022-03-22 21:26:52 +01:00
Jeff Atwood
66b5297dae Merge pull request #525 from skill-collectors/blackjack-java
Blackjack in Java
2022-03-22 13:54:30 -05:00
Jeff Atwood
ac12c1c09c Merge pull request #669 from serranojl/main
ruby version for Pizza game
2022-03-22 12:22:52 -05:00
Jeff Atwood
b3d6f063ab Merge pull request #670 from coding-horror/python-tests
Python: Add tests and type annotations
2022-03-22 12:17:59 -05:00
Martin Thoma
bf4ac6c3ca Python: Add tests and type annotations 2022-03-22 11:58:30 +01:00
John Lloyd Serrano
4712607c7b ruby version for Pizza game 2022-03-22 15:36:54 +08:00
Andrew Cooper
42c21bbc62 Use common library in SuperStarTrek 2022-03-22 17:55:44 +11:00
Jeff Atwood
97bf59b328 Merge pull request #665 from arjieng/basketball-ruby
07_Basketball ruby version
2022-03-21 11:59:16 -05:00
Jeff Atwood
66915c6781 Merge pull request #668 from coding-horror/py-amazing
Amazing (Python): Code Cleanup
2022-03-21 11:57:57 -05:00
Martin Thoma
49ae4f4872 Amazing (Python): Code Cleanup
* Make more use of a Maze class
* Create a bigger maze in the test
* Group row/col variables in Position class
* Group direction variables in an Enum
2022-03-21 14:32:48 +01:00
Martin Thoma
373e5a1868 Acey Ducey (Python): Code Cleanup (#667) 2022-03-21 11:03:21 +01: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
c444da93c0 BUG: Reduce false-positives for vbnet (#666)
Closes #664
2022-03-21 09:48:27 +01:00
Argie Bacomo
fda4cef751 Basketball ruby version 2022-03-21 16:00:06 +08:00
Jeff Atwood
e74d02f32a Merge pull request #663 from arjieng/calendar-ruby
Added ruby version calendar
2022-03-20 21:44:14 -05:00
Argie Bacomo
1a71d033a8 remove extra somethings 2022-03-21 10:12:03 +08:00
Argie Bacomo
dfe0e48ca7 Added ruby version calendar 2022-03-21 10:06:00 +08:00
Jeff Atwood
144376ffe4 Merge pull request #656 from AnthonyMichaelTDM/update_languages_of_markdown_todo_rust
updated markdown_todo_rust
2022-03-20 15:04:01 -05:00
Jeff Atwood
11649ababc Merge pull request #658 from AnthonyMichaelTDM/rust-port-22_Change
rust port of 22_change
2022-03-20 13:55:14 -05:00
Jeff Atwood
f62a7bb64c Merge pull request #659 from roygilliam/Orbit_Work
Initial C# conversion
2022-03-20 13:42:20 -05:00
Jeff Atwood
37988a3124 Merge pull request #660 from MartinThoma/fix-todo-gen
Fix TODO list generation for C#
2022-03-20 13:40:24 -05:00
Martin Thoma
d81aaa053b Add flake8-implicit-str-concat 2022-03-20 19:16:39 +01:00
Martin Thoma
83b3dc402c Python: Add type annotations 2022-03-20 19:16:39 +01:00
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