Commit Graph

2087 Commits

Author SHA1 Message Date
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
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
Jeff Atwood
374494c18c Update README.md 2022-03-15 20:24:00 -07:00
Jeff Atwood
a0931700e9 Update README.md 2022-03-15 18:35:36 -07:00
Jeff Atwood
25dc5afaa6 Update README.md 2022-03-15 18:33:17 -07:00
Jeff Atwood
0041b3c9bb Update README.md 2022-03-15 18:32:35 -07:00
Jeff Atwood
ffd8cad6bf Update README.md 2022-03-15 18:24:13 -07:00
Jeff Atwood
d673c807c1 Merge pull request #641 from MartinThoma/fix-string-concatenation
Python: Fix string concatenation
2022-03-15 19:59:40 -05:00
AnthonyMichaelTDM
9d96f04bde more work porting, day of week calculation works 2022-03-15 13:29:55 -07:00