Commit Graph

2087 Commits

Author SHA1 Message Date
pdagosta
e236026e10 comment change 2022-03-05 11:10:14 -06:00
pdagosta
95fa8e7da3 working version 2022-03-05 11:07:45 -06:00
Dave Burke
ca0906cbfc Handle 'an' vs 'a' grammar 2022-03-05 09:53:41 -06:00
Dave Burke
d6e0edb75f Fill out javadoc 2022-03-05 09:47:15 -06:00
Dave Burke
926612b736 Test insurance collection 2022-03-05 09:28:27 -06:00
Rohit Lohia
4bf0c62267 Added missing break statement
The break statement would prevent infinite loop when player choose 'o' or 'O'
2022-03-05 20:29:33 +05:30
Martin Thoma
e64fb6795c MAINT: Apply pre-commit
Remove byte-order-marker pre-commit check as there would be
many adjustments necessary
2022-03-05 09:29:23 +01:00
pdagosta
1e802915e5 initial compilable version 2022-03-05 02:24:44 -06:00
Andrew Cooper
8165f7a161 Use common library in 86_Target 2022-03-05 15:43:11 +11:00
Jeff Atwood
f5e33ae38f Merge pull request #601 from MartinThoma/python-formatter-black
Apply black to the 00_Utilities/markdown_todo.py
2022-03-04 18:06:33 -06:00
Jeff Atwood
dd548665d5 Merge pull request #602 from glv/main
ruby version of 92_Trap
2022-03-04 17:32:31 -06:00
Glenn Vanderburg
a55db2e7d9 rearrange conditions to simplify them 2022-03-04 17:24:12 -06:00
Glenn Vanderburg
6f226d59d4 tiny punctuation fix 2022-03-04 17:15:40 -06:00
Glenn Vanderburg
84f3022875 fix spelling mistake 2022-03-04 17:14:22 -06:00
Glenn Vanderburg
0cb7cc9046 reorder methods 2022-03-04 17:10:18 -06:00
Glenn Vanderburg
a55f63ad6c slight cleanup and fix typoed filename 2022-03-04 17:08:52 -06:00
Glenn Vanderburg
31b40ff79c ruby version of 92_Trap 2022-03-04 16:53:07 -06:00
Jeff Atwood
8c7dfc5309 Merge pull request #599 from DLotts/rust_74_rock_paper_scissors
Rust 74 rock paper scissors
2022-03-04 14:06:51 -06:00
Jeff Atwood
78eb4b38f8 Merge pull request #583 from Crymfox/sudoku
Sudoku in pascal
2022-03-04 14:06:16 -06:00
Jeff Atwood
cff56da914 Merge pull request #600 from masykur/main
Add tictactoe2 in C#
2022-03-04 14:03:41 -06:00
Dave Burke
84a70ad1ff Handle insurance 2022-03-04 13:02:26 -06:00
Jeff Atwood
b2f3860bee Merge pull request #598 from AnthonyMichaelTDM/rust-port-94_War
Rust port of 94_War
2022-03-04 12:32:53 -06:00
Martin Thoma
ef2e2f32d2 Apply black to the 00_Utilities/markdown_todo.py 2022-03-04 15:40:55 +01:00
Ahmad Masykur
d099516878 Merge branch 'coding-horror:main' into main 2022-03-04 16:33:57 +07:00
masykur
4663a8e550 Add tictactoe2 in C# and reorganize project folder 2022-03-04 16:31:01 +07:00
David
143e4428e4 Switch to nanorandom because small and includes random seed. Ready to Pull request. 2022-03-04 01:49:42 -05:00
David Lotts
bbfe11764a Added test, and enums -- slick, but kind of gratuitous 2022-03-04 01:49:42 -05:00
David
ba5ee8b915 completed rust code for 74 Rock paper scissors 2022-03-04 01:49:41 -05:00
AnthonyMichaelTDM
b50fc35294 Rust port of 94_War finished 2022-03-03 21:58:45 -08:00
Dave Burke
375f16c4a8 Print total after STAY 2022-03-03 22:10:54 -06:00
Dave Burke
213f77678f Mimic a real deal
Just because it's fun.
2022-03-03 22:10:54 -06:00
Dave Burke
c7e684a99a Simplify bet validation 2022-03-03 22:10:54 -06:00
Dave Burke
f7a257e6ae Refactor scoreHand and compareHands into ScoringUtils 2022-03-03 21:55:30 -06:00
Dave Burke
1f24d98a72 Make play() tests more readable 2022-03-03 21:49:47 -06:00
Dave Burke
9fac5530e4 Print total of each hand 2022-03-03 21:46:24 -06:00
Dave Burke
7e09a58f32 Fix output for Double Down 2022-03-03 21:44:42 -06:00
Dave Burke
193edaa428 Fix toString for Ace 2022-03-03 21:43:29 -06:00
Jeff Atwood
d76b2f17c8 Merge pull request #597 from AnthonyMichaelTDM/rust-port-61_Math_Dice
Rust port of 61_Math_Dice
2022-03-03 17:40:32 -06:00
AnthonyMichaelTDM
d30b6bac15 rust port of 61_Math_Dice 2022-03-03 13:14:49 -08:00
AnthonyMichaelTDM
2b48798f20 remove stuff that is in rust-port-amazing branch 2022-03-03 12:04:57 -08:00
Anthony Michael
c9645fb1ae Merge branch 'coding-horror:main' into main 2022-03-03 12:03:42 -08:00
Jeff Atwood
61ee0dc276 Merge pull request #596 from AnthonyMichaelTDM/rust-port-blackjack
Rust port of 10_Blackjack
2022-03-03 13:24:55 -06:00
AnthonyMichaelTDM
7977ce8cc2 remove stuff that is in rust-port-amazing branch 2022-03-02 21:50:35 -08:00
Anthony Michael
ee140a94ef Merge branch 'coding-horror:main' into rust-port-amazing 2022-03-02 21:43:18 -08:00
Anthony Michael
0ef27401e8 Merge branch 'coding-horror:main' into main 2022-03-02 21:43:08 -08:00
Anthony Michael
899a1e25d1 Merge branch 'coding-horror:main' into rust-port-blackjack 2022-03-02 21:42:41 -08:00
Dave Burke
a8d2e12597 Add a couple TODOs 2022-03-02 22:20:41 -06:00
Dave Burke
58fd32823e Use List instead of LinkedList where possible 2022-03-02 22:16:03 -06:00
Dave Burke
5e950275fa Refactor Game.play() to handle split hands more elegantly 2022-03-02 22:15:44 -06:00
Dave Burke
ccbed873e5 Add TODO to make Card a Record 2022-03-02 22:14:56 -06:00