Yuriy Lyeshchenko
e8e1f5365b
Implementing https://github.com/coding-horror/basic-computer-games/blob/main/15_Boxing/boxing.bas in C#
2022-01-08 19:00:19 -06:00
Jeff Atwood
e6a02a17c1
Merge pull request #459 from ITrustNumbers/main
...
Ported 83_Stock_Market to Python
2022-01-08 13:05:12 -08:00
Jeff Atwood
6f54a3e32b
Merge pull request #461 from trwyant/67_One_Check_trw
...
Port 67_One_Check to Perl.
2022-01-08 12:44:41 -08:00
Tom Wyant
64b0f59b32
Port 67_One_Check to Perl.
...
This is pretty much a straight port to idiomatic Perl.
2022-01-08 15:42:01 -05:00
Tim Buchalka
e9bd890681
Merge remote-tracking branch 'origin/main'
2022-01-09 06:51:08 +10:30
Tim Buchalka
d22e7e5f5f
Another issue #457 bugfix. Player selecting enemy weapons option BOTH (GUNS and MISSILES) now calculates amount correctly resulting in a higher likelyhood of being shot down.
...
Added comments to make it clearer how the calculation worked for all enemy weapons.
2022-01-09 06:50:24 +10:30
Jeff Atwood
c8f6be2865
Merge pull request #460 from BillCruise/main
...
Update Hamurabi Python
2022-01-08 11:28:59 -08:00
Bill Cruise
e3d7890689
Merge branch 'main' of https://github.com/BillCruise/basic-computer-games into main
2022-01-08 13:18:53 -05:00
Bill Cruise
a1cd4d24c7
Return a value from gen_random function.
2022-01-08 13:18:09 -05:00
Bill Cruise
949d3168f3
Reformat to make code more Pythonic and (hopefully) readable.
2022-01-08 12:56:44 -05:00
Yash Chauhan
20b6d56454
Ported 83_Stock_Market to Python
...
I've used an Object-Oriented Approach. The code's a little messy, We'll clean it up later.
2022-01-08 15:11:02 +05:30
Tim Buchalka
291f8d4b48
Fix for gunner rate being incorrectly asked for when missiles selected - see issue #457 .
...
Add test for player entering an amount for the percentage hit rate of gunners less than the minimum. It now shoots down the player as per the original game.
2022-01-08 17:28:18 +10:30
Jeff Atwood
d7be4e52bd
Merge pull request #456 from havoclad/main
...
Fix exception if choice 2 for damage is selected
2022-01-07 20:29:15 -08:00
Jeff Atwood
6df856cd7e
Merge pull request #458 from manminusone/51_Hurkle
...
Implementation of Hurkle in perl
2022-01-07 20:28:50 -08:00
Pat Ludwig
dd1989e90f
Add *.class to .gitignore
2022-01-07 22:03:14 -06:00
James Allenspach
f3b593b5ec
add line break at eof
2022-01-07 21:52:30 -06:00
James Allenspach
1471c277a5
typo
2022-01-07 21:51:56 -06:00
James Allenspach
4685864d4e
Initial commit
2022-01-07 21:51:00 -06:00
Pat Ludwig
a33c3b6b1a
Fix exception if choice 2 for damage is selected
...
Initialize the variables.
2022-01-07 21:26:46 -06:00
Jeff Atwood
f5ec31dcb5
Merge pull request #455 from qequ/main
...
Added Ruby version of Roulette
2022-01-07 17:58:33 -08:00
Jeff Atwood
d5b6a144d6
Merge pull request #454 from polettix/72-queen-perl
...
Add 72_Queen in Perl
2022-01-07 17:57:29 -08:00
Alvaro Frias Garay
8a171aa171
Merge branch 'main' of github.com:qequ/basic-computer-games into main
2022-01-07 22:50:12 -03:00
Alvaro Frias Garay
0d39819d9b
Added ruby version of russian roulette
2022-01-07 22:49:51 -03:00
Flavio Poletti
89ce331878
Add 72_Queen in Perl
2022-01-08 02:14:33 +01:00
Jeff Atwood
4a233d76e3
Merge pull request #453 from simonskrede/main
...
Initial port of Poker to plain Java
2022-01-07 16:00:43 -08:00
simonskrede
b9e79e9807
Initial port of Poker to plain Java
2022-01-08 00:42:53 +01:00
Jeff Atwood
5d2611d545
Merge pull request #451 from zoot661/main
...
Create Program.cs
2022-01-07 15:25:33 -08:00
Jeff Atwood
ab562d75d0
Merge pull request #450 from BillCruise/main
...
Fixed bug in acey-ducey range.
2022-01-07 15:25:07 -08:00
Jeff Atwood
4889e0bd41
Merge pull request #452 from allauthors/patch-1
...
Fixed bugs. Yes and no both restarted the game and zero didn't skip bet
2022-01-07 15:21:50 -08:00
Robert Flach
b0c602f53d
Fixed 2 bugs. 1 yes and no both restarted the game 2. zero is supposed to skip the third card but was treated as an invalid bet.
...
1. In trying as keep as close to the spirit of the original game as possible, there is no handling for an invalidly low number.
A zero input prints "chicken" and skips the third card and starts over with 2 new initial cards.
2. After the wad is blown, anything but a yes answer to the "Try again" question ends the game
2022-01-07 16:38:29 -06:00
zoot661
18c358e9b9
Create Program.cs
...
Add initial implementation
Working version but requires commenting and maybe some better error handling
2022-01-07 21:40:42 +00:00
Bill Cruise
986a6146ec
Fixed bug in acey-ducey range.
2022-01-07 15:48:09 -05:00
Jeff Atwood
ec4a268dee
Merge pull request #449 from havoclad/main
...
Apply Both damage correctly
2022-01-07 12:14:32 -08:00
Pat Ludwig
3fc1896cf6
Merge branch 'coding-horror:main' into main
2022-01-07 14:05:34 -06:00
Pat Ludwig
3328661406
Apply Both damage correctly
...
Choices 2 and 3 should both have missile damage applied.
2022-01-07 14:03:15 -06:00
Jeff Atwood
b2bb5808db
Merge pull request #448 from trwyant/80_Slots_ported_by_trw
...
Port 88_Slots to Perl.
2022-01-07 11:50:49 -08:00
Tom Wyant
02922d6926
Port 88_Slots to Perl.
...
I have made a change in the payout table versus the BASIC, since I
presume the failure to pay a double on LEMON CHERRY LEMON is a bug. See
the documentation in the module for why.
2022-01-07 14:42:32 -05:00
Jeff Atwood
7c37a8eeb4
Merge pull request #447 from polettix/04-awari-perl
...
Update AI for Awari in Perl
2022-01-07 09:54:42 -08:00
Flavio Poletti
f65412ab00
Update AI for Awari
2022-01-07 18:52:08 +01:00
Jeff Atwood
a9adcc1f68
Merge pull request #446 from jcoehoorn/patch-1
...
Create program.vb
2022-01-07 08:20:10 -08:00
Jeff Atwood
2a14b7b805
Merge pull request #442 from ribtips/main
...
89_TicTacToe in Perl
2022-01-07 08:19:31 -08:00
Jeff Atwood
e5a306b2d5
Merge pull request #444 from trwyant/81_Splat_ported_by_trw
...
Port of 81_Splat to Perl.
2022-01-07 08:19:11 -08:00
Jeff Atwood
cdc39e12ec
Merge pull request #445 from pcholt/main
...
JVM build scripts
2022-01-07 08:18:46 -08:00
Jeff Atwood
42ef1b8588
Merge pull request #443 from polettix/12-bombsaway-perl
...
Commented and fixed code
2022-01-07 08:14:47 -08:00
jcoehoorn
c99f6d86c3
Create program.vb
2022-01-07 09:59:29 -06:00
RibTips
a2bcdf14be
Fixed game termination bug
...
Fixed issue where the game wouldn't terminate properly if the computer goes first.
2022-01-07 10:59:03 -05:00
Tom Wyant
9df2579cdb
Clean up dead code left over from cut-and-paste development.
2022-01-07 10:49:49 -05:00
Paul Holt
f2105fb373
Merge remote-tracking branch 'origin/main' into main
2022-01-08 02:29:18 +11:00
Paul Holt
8da75e5caa
Delete old and experimental code
2022-01-08 02:28:48 +11:00
Paul Holt
0227d3095b
Delete old and experimental code
2022-01-08 02:26:18 +11:00