Commit Graph

1961 Commits

Author SHA1 Message Date
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
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
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
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