Commit Graph

2508 Commits

Author SHA1 Message Date
Andrew Cooper
728c5b8a00 Add remarks comment 2022-02-15 22:37:09 +11:00
Andrew Cooper
35f68dcf72 Change to file-scoped namespaces 2022-02-15 22:33:44 +11:00
Andrew Cooper
fc92500074 Add ConsoleIO implementation and sample program 2022-02-15 22:30:40 +11:00
Andrew Cooper
ee84b19150 Add TextIO implemnetation of IReadWrite 2022-02-15 22:26:43 +11:00
Andrew Cooper
6f20449e71 Add IReadWrite interface 2022-02-15 22:11:35 +11:00
Andrew Cooper
d8e4e0d975 Extract IO string constants 2022-02-15 21:57:21 +11:00
Jeff Atwood
f0f920c0d8 Merge pull request #569 from epeastwood/csharp-letter
54_Letter - added csharp
2022-02-14 13:34:11 -08:00
Peter Eastwood
a54369c677 54_Letter - added csharp 2022-02-14 19:29:37 +00:00
Jeff Atwood
d231336da4 Merge pull request #568 from mur4ik18/main
Adding first game in rust
2022-02-14 09:33:56 -08:00
Alex Kotov
b79200166e Update main.rs 2022-02-14 19:27:44 +02:00
Alex Kotov
971e75d066 Update README.md 2022-02-14 19:24:34 +02:00
mur4ik18
7ab91a0e9b 🚀 41_guess add rust 2022-02-14 19:22:51 +02:00
Jeff Atwood
9dfa74094c Merge pull request #567 from roygilliam/main
Conversion of Slalom in to C#
2022-02-13 17:08:27 -08:00
Roy Gilliam
e48ab7949d Merge branch 'coding-horror:main' into main 2022-02-13 16:48:01 -05:00
roygilliam
b5be39ebee Initial C# conversion 2022-02-13 16:46:49 -05:00
Andrew Cooper
8d04213ccd Add reading of number tokens 2022-02-13 19:28:19 +11:00
Jeff Atwood
d5c9fed804 Merge pull request #566 from BuckyMHz/find-unimplemented
Node app to find unimplemented games by language
2022-02-11 18:48:11 -08:00
Paul Sobolik
c542abf3df Node app to find unimplemented games by language 2022-02-11 19:58:03 -05:00
Dave Burke
db1e32a314 Use double to store bets
The original basic allowed fractional bets.
2022-02-11 13:02:22 -06:00
Dave Burke
df86d49bb7 Fix print call syntax 2022-02-11 12:37:15 -06:00
Dave Burke
5c998f3bb5 Add TODO to use fractions for bets 2022-02-11 12:37:09 -06:00
Jeff Atwood
3cb13d2564 Merge pull request #565 from ribtips/main
modified the AI logic to make it a bit more difficult to win based on tic-tac-toe game theory
2022-02-11 10:14:27 -08:00
ribtips
b59eba3534 modified the AI logic to make it a bit more difficult 2022-02-11 12:12:02 -05:00
Andrew Cooper
151144e9e2 Reorganise test files 2022-02-11 20:45:01 +11:00
Andrew Cooper
a7cedfbf7e Rework token building 2022-02-11 08:19:02 +11:00
Andrew Cooper
3b42ffd18d Add token reader 2022-02-10 22:40:12 +11:00
Dave Burke
a6cf574479 Add notes about insurance 2022-02-09 21:51:31 -06:00
Dave Burke
f65c2de058 Add comments and tasks 2022-02-09 21:40:27 -06:00
Dave Burke
2b2f9327f7 Implement play() and scoreHand() 2022-02-09 21:19:04 -06:00
Jeff Atwood
0d3dbcff87 Merge pull request #563 from stephancom/54-letter-ruby
54-Letter: ruby
2022-02-09 10:36:18 -08:00
stephan.com
72864de3a8 54-Letter: ruby 2022-02-08 21:49:00 -08:00
Jeff Atwood
aaa81dac83 Merge pull request #562 from stephancom/52-kinema-ruby
52-Kinema: ruby
2022-02-08 21:08:06 -08:00
stephan.com
ba9ca01206 52-Kinema: ruby 2022-02-08 21:06:43 -08:00
Jeff Atwood
0af6cd7a6b Merge pull request #561 from stephancom/cleanup-vestigal-folder
remove extra folder
2022-02-08 17:52:53 -08:00
stephan.com
f0c869037a remove extra folder
there appear to be two Russian Roulette folders in the repo, one with spaces and the other with dashes.  The one with spaces contains nothing but a perl implementation, which is identical to the one in `76_Russian_Roulette/perl/russianroulette.pl`
2022-02-08 17:13:08 -08:00
Jeff Atwood
b2f6d2d829 Merge pull request #560 from stephancom/06-banner-ruby
06-Banner: ruby
2022-02-08 09:10:18 -08:00
stephan.com
b36966b235 06-Banner: ruby 2022-02-08 04:19:36 -08:00
Dave Burke
0760f22494 Add example i/o test 2022-02-07 21:59:02 -06:00
Dave Burke
0b1f57ae4f Refactor to allow testing side effects
By externalizing the source of i/o and randomness for shuffling, we can
inject non-interactive and deterministic behavior during unit tests.
2022-02-07 21:59:02 -06:00
Jeff Atwood
389f42f34c Merge pull request #559 from stevebosman/94_War
94 war case insensitive input
2022-02-07 13:29:17 -08:00
Steve Bosman
0b89464f6a Merge branch 'coding-horror:main' into 94_War 2022-02-07 21:24:51 +00:00
Steve Bosman
5f3aadd2b3 94 War - allow case insensitive input 2022-02-07 21:24:07 +00:00
Jeff Atwood
c669343310 Merge pull request #558 from stephancom/94-war-ruby
94_war: ruby
2022-02-07 08:48:10 -08:00
Andrew Cooper
25c8dad512 Add input tokenization 2022-02-07 22:43:31 +11:00
stephan.com
00235289d0 94_war: ruby 2022-02-07 01:48:24 -08:00
Jeff Atwood
e99d67787e Merge pull request #556 from stevebosman/main
95 Weekday - broke code into classes and functions with named variables and comments
2022-02-06 17:20:29 -08:00
Jeff Atwood
80a08da9cb Merge pull request #557 from roygilliam/main
Initial conversion to C#
2022-02-06 17:19:53 -08:00
roygilliam
ea190fda33 Initial conversion to C# 2022-02-06 19:30:59 -05:00
Steve Bosman
2b7fd63c31 Merge branch 'coding-horror:main' into main 2022-02-06 22:41:14 +00:00
Steve Bosman
9a76fa76fb 95 Weekday - move methods into appropriate? scopes or classes 2022-02-06 22:40:07 +00:00