Commit Graph

1969 Commits

Author SHA1 Message Date
Jeff Atwood
ba707ffa97 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
6d7a62e3b1 Add flake8-implicit-str-concat 2022-03-20 19:16:39 +01:00
Martin Thoma
2316195b30 Python: Add type annotations 2022-03-20 19:16:39 +01:00
Martin Thoma
580bc90f19 Make empty box the default 2022-03-20 17:36:17 +01:00
Martin Thoma
570be61a9f Update to new languages 2022-03-20 15:23:47 +01:00
Martin Thoma
0a67b24e59 Fix TODO list generation for C# 2022-03-20 12:57:33 +01:00
Jeff Atwood
2c9f922ea9 Merge pull request #654 from MartinThoma/py-testability
Python: Make code testable
2022-03-19 13:21:17 -05:00
Jeff Atwood
013f0a21d5 Merge pull request #655 from AnthonyMichaelTDM/rust-port-95_weekday
rust port of 95_weekday
2022-03-19 13:17:50 -05:00
AnthonyMichaelTDM
4b518e4d42 finished rust port of 95_Weekday 2022-03-19 11:03:06 -07:00
Martin Thoma
69e6fdeef0 Add Python tests 2022-03-19 12:20:57 +01:00
Martin Thoma
e6c8788e8d Don't compute code coverage on test files 2022-03-19 11:57:25 +01:00
Martin Thoma
38fa931fa8 Avoid global variables 2022-03-19 10:13:47 +01:00
Martin Thoma
bd64556c17 Acey Ducey: Fix bankroll issue 2022-03-19 10:01:20 +01:00
Martin Thoma
71e3396bd5 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
473e20c181 add Porting Notes to readme.md for each game 2022-03-18 19:50:22 -07:00
Jeff Atwood
d564fa30ce Update README.md 2022-03-18 18:58:25 -07:00
Jeff Atwood
37033c40eb 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
b5e30f4b32 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
b65dca80f6 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
d9e3b0af59 add bash for 74_Rock_Scissors_Paper 2022-03-18 22:10:49 +01:00
Jeff Atwood
0dcb201cd6 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
f9781ca7a5 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
9dab448327 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
34af4e8b32 Merge pull request #651 from MartinThoma/python-bugbear
Clean Code: Python flake8-bugbear
2022-03-18 10:51:32 -05:00
Martin Thoma
dbed6ba98e 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
e784fab7ec Ruby version for #16 Bug game 2022-03-18 17:28:12 +08:00
AnthonyMichaelTDM
745f8f2d65 more work with weekdays 2022-03-17 13:30:17 -07:00
Alexander Wunschik
756b7dd2b1 add html for 78_Sine_Wave 2022-03-17 20:19:29 +01:00
Alexander Wunschik
d773e9b846 support multible html files per game 2022-03-17 20:16:51 +01:00
Alexander Wunschik
69b0aef3e7 disable jekyll in gh-pages 2022-03-17 20:16:51 +01:00
Alexander Wunschik
ef6e018a5f create index.html for all games 2022-03-17 20:16:51 +01:00
Jeff Atwood
62f3781403 Merge pull request #646 from MartinThoma/py-golf
39_golf: Python implementation
2022-03-17 12:31:11 -05:00
Jeff Atwood
29f57bf6dc Merge pull request #647 from MartinThoma/py-cleanup
Python: Code cleanup
2022-03-17 12:29:20 -05:00
Martin Thoma
83c8a8ae95 39_golf: Python implementation 2022-03-17 09:53:23 +01:00
Martin Thoma
5083f2ed7d Python: Code cleanup 2022-03-17 07:51:10 +01:00
Jeff Atwood
01937fd84c Merge pull request #643 from ChanderJindal/main
TicTacToe Hard
2022-03-16 11:34:12 -05:00
Jeff Atwood
3006b79ad6 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
9d7360b667 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
7054f278f7 add elm for Awari 2022-03-16 09:58:40 +01:00
Auryn Engel
dc4ec93bbf add elm for Acey Ducey 2022-03-16 09:54:04 +01:00
Auryn Engel
d0d3b03ffd remove elm from main; 2022-03-16 09:50:13 +01:00
Auryn
85226984a6 Merge branch 'coding-horror:main' into main 2022-03-16 09:48:54 +01:00
Chander Jindal
30fcb0f8d4 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
f23259965c Delete 89_Tic-Tac-Toe/python/TicTacToe_exe directory 2022-03-16 12:30:15 +05:30
Chander Jindal
72d4a98865 Merge branch 'coding-horror:main' into main 2022-03-16 12:29:26 +05:30
Jeff Atwood
c6e68b7d45 Merge pull request #637 from aquilax/patch-1
Adds Sine Wave Pascal implementation
2022-03-15 23:56:40 -05:00
Jeff Atwood
3cfb409b36 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
24e0eef9ad Moved SineWave Pascal implementation to Alternative Languages 2022-03-16 05:47:45 +01:00
Jeff Atwood
8cd03109b6 remove copy/pasted ports from alternate languages 2022-03-15 21:40:04 -07:00
Evgeniy Vasilev
6da4fbd37a Merge branch 'coding-horror:main' into patch-1 2022-03-16 05:32:09 +01:00