Commit Graph

1329 Commits

Author SHA1 Message Date
Dyego Maas
4bef616709 Refactoring, plus adding real user input again. 2022-01-11 20:45:34 -03:00
Dyego Maas
def3ff7284 Added enum Cell to enhance clarity. 2022-01-11 20:45:00 -03:00
Dyego Maas
b1c4193ce6 Further refactoring, naming procedures. 2022-01-11 20:44:13 -03:00
Dyego Maas
8dd6bc68ab Some initial refactorings. 2022-01-11 20:43:44 -03:00
Dyego Maas
275e2c7447 Eliminated StackOverflow bug. 2022-01-11 20:43:14 -03:00
Dyego Maas
10b55eb3ae Got it working. 2022-01-11 20:42:40 -03:00
Dyego Maas
5a30311565 Not working yet. 2022-01-11 20:41:28 -03:00
Dyego Maas
70a3364e46 Another step. 2022-01-11 20:40:50 -03:00
Dyego Maas
6a1e497608 Just starting out. 2022-01-11 20:40:05 -03:00
Jeff Atwood
e601fa9658 Merge pull request #487 from trwyant/75_Roulette_perl_trw
Port 75_Roulette to Perl.
2022-01-11 14:05:47 -08:00
Tom Wyant
2b4ac64393 Port 75_Roulette to Perl.
The directory includes a Perl script to test the port (roulette-test.t)
and a Perl script to generate the test based on output from the BASIC
implementation (make-roulette-test.pl).
2022-01-11 17:00:28 -05:00
Jeff Atwood
2e5cab206f Merge pull request #485 from LittleTealeaf/75_Roulette_Python
75 Roulette in Python
2022-01-11 13:49:45 -08:00
Jeff Atwood
350e771ffd Merge pull request #486 from andrewmcguinness/dev
75_Roulette in java
2022-01-11 13:49:17 -08:00
Jeff Atwood
dc56c658d4 Merge pull request #481 from LittleTealeaf/75_Roulette_Java
75 Roulette in Java
2022-01-11 13:48:43 -08:00
andrew
fca4734471 readme 2022-01-11 21:40:31 +00:00
andrew
8a9a1f853e 75_Roulette in java 2022-01-11 21:35:09 +00:00
LittleTealeaf
9381ad547b Added comments 2022-01-11 16:11:10 -05:00
LittleTealeaf
51396d8a43 Merge branch '75_Roulette_Java' of https://github.com/LittleTealeaf/basic-computer-games into 75_Roulette_Java 2022-01-11 16:05:20 -05:00
LittleTealeaf
55bb129c53 Reverting previous commit 2022-01-11 16:05:16 -05:00
LittleTealeaf
f0f7a365a0 Player balance is now deducted on bets 2022-01-11 16:04:44 -05:00
LittleTealeaf
47107ba63e Implemented more Roulette.py 2022-01-11 16:01:38 -05:00
Thomas Kwashnak
59e34ab8c5 Fixed numerical typo 2022-01-11 15:56:31 -05:00
Thomas Kwashnak
d8a4f64224 Added check 2022-01-11 15:26:53 -05:00
Thomas Kwashnak
2bd3df91ce Started Roulette in Python 2022-01-11 15:09:03 -05:00
Thomas Kwashnak
4e9e876b5c Re-Formatted Code 2022-01-11 14:15:37 -05:00
Thomas Kwashnak
2877c992c0 Match Formatting to Original Program 2022-01-11 14:10:42 -05:00
Jeff Atwood
6119b266e5 Merge pull request #484 from robmiller/depth-charge-idiomatic-ruby
Depth Charge: use more idiomatic Ruby
2022-01-11 09:55:18 -08:00
Rob Miller
ff50950b19 Depth Charge: use more idiomatic Ruby
Refactor the Depth Charge game (#31) to use more Ruby idioms, without
changing its structure, method names, etc.
2022-01-11 17:47:53 +00:00
Jeff Atwood
8ff719b251 Merge pull request #483 from pcholt/patch-1
Copying Mistale
2022-01-10 17:42:17 -08:00
Paul Holt
a2f471fd2d Copying Mistale
forgot to add 'clean' to the targets for the initial build
2022-01-11 11:43:27 +11:00
Thomas Kwashnak
192e552152 Merge branch 'coding-horror:main' into 75_Roulette_Java 2022-01-10 16:10:21 -05:00
Jeff Atwood
6d3771be33 Merge pull request #372 from joshgrib/add-script-to-find-missing-implementations
Add script to find missing implementations
2022-01-10 13:02:13 -08:00
Jeff Atwood
6b4bd28529 Merge pull request #482 from andrewmcguinness/main
Java implementation of 09_Battle
2022-01-10 12:49:44 -08:00
Josh Gribbon
d8297dffb8 Skip utilities folder 2022-01-10 15:46:51 -05:00
Josh Gribbon
a217115d06 Fix relative path 2022-01-10 15:44:23 -05:00
Josh Gribbon
381ae0fee1 Move file 2022-01-10 15:42:08 -05:00
Andrew McGuinness
87b4a47862 Merge branch 'coding-horror:main' into main 2022-01-10 20:30:20 +00:00
andrew
0e93771503 Comment the input class 2022-01-10 20:26:50 +00:00
andrew
ecf95d5d80 Add comments to the sea class 2022-01-10 20:22:14 +00:00
Thomas Kwashnak
68849b0bcf Formatted "Totals" output
Slowly going through and making output true to the original BASIC code
2022-01-10 15:18:46 -05:00
andrew
b464fecb2f Add some comments 2022-01-10 20:15:15 +00:00
andrew
b1d015f05b Classes in own files 2022-01-10 19:46:37 +00:00
andrew
dc83b9fbca pull out input parsing 2022-01-10 19:38:23 +00:00
andrew
35397ab040 First cut java battleships 2022-01-10 19:21:15 +00:00
Jeff Atwood
ad1c994dcc Merge pull request #479 from pcholt/main
Remove top-level empty `build.gradle`
2022-01-10 11:09:50 -08:00
Thomas Kwashnak
291019c309 Still unsure about $$
Is the check for the difference? Is it only when the house cannot pay what it owes?
2022-01-10 11:41:02 -05:00
Thomas Kwashnak
2e1358ebc5 Create roulette.py 2022-01-10 11:31:04 -05:00
Thomas Kwashnak
b9ff1e2291 Added replay and ending
I think...
2022-01-10 11:29:50 -05:00
Thomas Kwashnak
6d00dde5f6 Added bet checking conditions 2022-01-10 11:14:10 -05:00
Thomas Kwashnak
96dd30b59d Added querying of bets and randomized roll 2022-01-10 10:44:49 -05:00