Commit Graph

1338 Commits

Author SHA1 Message Date
xl-c7b3
f9a884e22a added non-source code exclusions to .gitignore 2022-01-09 02:49:50 -05:00
Joseph Nellis
3f8b5b39a9 Merge branch 'coding-horror:main' into main 2022-01-08 22:13:47 -08:00
Jeff Atwood
3efbb9164c Merge pull request #464 from eweilnau/powershell-acey-ducey
Add link to PowerShell implementation
2022-01-08 21:39:31 -08:00
Jeff Atwood
cfdf8472c1 Merge pull request #462 from yuriylsh/main
Implementing 15_Boxing in C#
2022-01-08 21:39:06 -08:00
Jeff Atwood
e536019a78 Merge pull request #465 from Kanykei-akmatova/PortFlipFlopToCsharp
csharp version  of FlipFlop game
2022-01-08 21:38:37 -08:00
Jeff Atwood
a2b0eeb364 Merge pull request #463 from mwieder/reverse_ruby
implementation of game 73 (Reverse) in ruby
2022-01-08 21:38:01 -08:00
Joseph Nellis
68e278095d Add files via upload 2022-01-08 20:24:12 -08:00
Kanykei Akmatova
52cbd74d19 FlipFlop port to csharp 2022-01-08 21:55:47 -05:00
Eric S. Weilnau
ccb2e5a7c4 Add link to PowerShell implementation 2022-01-08 20:51:33 -05:00
Mark Wieder
40617fa4fc implementation of game 73 (Reverse) in ruby 2022-01-08 17:20:53 -08:00
Yuriy Lyeshchenko
c8fccde889 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
62537a61bf Merge pull request #459 from ITrustNumbers/main
Ported 83_Stock_Market to Python
2022-01-08 13:05:12 -08:00
Jeff Atwood
82d1c2eec0 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
7274cf82dd 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
8848199d90 Merge remote-tracking branch 'origin/main' 2022-01-09 06:51:08 +10:30
Tim Buchalka
a78c1e8122 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
6fb3cb5a49 Merge pull request #460 from BillCruise/main
Update Hamurabi Python
2022-01-08 11:28:59 -08:00
Bill Cruise
792fa0b9f3 Merge branch 'main' of https://github.com/BillCruise/basic-computer-games into main 2022-01-08 13:18:53 -05:00
Bill Cruise
a360ca17ca Return a value from gen_random function. 2022-01-08 13:18:09 -05:00
Bill Cruise
d5a2260796 Reformat to make code more Pythonic and (hopefully) readable. 2022-01-08 12:56:44 -05:00
Yash Chauhan
5caa02958e 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
bc6580f209 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
cf20df7d0e 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
87e215dea0 Merge pull request #458 from manminusone/51_Hurkle
Implementation of Hurkle in perl
2022-01-07 20:28:50 -08:00
Pat Ludwig
42ed63d175 Add *.class to .gitignore 2022-01-07 22:03:14 -06:00
James Allenspach
83a9d95fc4 add line break at eof 2022-01-07 21:52:30 -06:00
James Allenspach
4d66d18e71 typo 2022-01-07 21:51:56 -06:00
James Allenspach
ab2b9d0c34 Initial commit 2022-01-07 21:51:00 -06:00
Pat Ludwig
32eee99654 Fix exception if choice 2 for damage is selected
Initialize the variables.
2022-01-07 21:26:46 -06:00
Jeff Atwood
e64c5037e9 Merge pull request #455 from qequ/main
Added Ruby version of Roulette
2022-01-07 17:58:33 -08:00
Jeff Atwood
9b06f05217 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
30a39f4f6c Merge branch 'main' of github.com:qequ/basic-computer-games into main 2022-01-07 22:50:12 -03:00
Alvaro Frias Garay
9f636574a4 Added ruby version of russian roulette 2022-01-07 22:49:51 -03:00
Flavio Poletti
8db8272d0b Add 72_Queen in Perl 2022-01-08 02:14:33 +01:00
Jeff Atwood
a74b67e4ab Merge pull request #453 from simonskrede/main
Initial port of Poker to plain Java
2022-01-07 16:00:43 -08:00
simonskrede
a14a7bea3c Initial port of Poker to plain Java 2022-01-08 00:42:53 +01:00
Jeff Atwood
bd62aa477e Merge pull request #451 from zoot661/main
Create Program.cs
2022-01-07 15:25:33 -08:00
Jeff Atwood
f8fc9f73ce Merge pull request #450 from BillCruise/main
Fixed bug in acey-ducey range.
2022-01-07 15:25:07 -08:00
Jeff Atwood
eab3a2bd12 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
ab5301151e 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
c9f9f9bcdd 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
d88d3b2987 Fixed bug in acey-ducey range. 2022-01-07 15:48:09 -05:00
Jeff Atwood
474218e29f Merge pull request #449 from havoclad/main
Apply Both damage correctly
2022-01-07 12:14:32 -08:00
Pat Ludwig
d587fd91e3 Merge branch 'coding-horror:main' into main 2022-01-07 14:05:34 -06:00
Pat Ludwig
ae903a3b62 Apply Both damage correctly
Choices 2 and 3 should both have missile damage applied.
2022-01-07 14:03:15 -06:00
Jeff Atwood
a952978d60 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
1dbd270455 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
f78ce2506e 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
96ef262866 Update AI for Awari 2022-01-07 18:52:08 +01:00
Jeff Atwood
d8947579c7 Merge pull request #446 from jcoehoorn/patch-1
Create program.vb
2022-01-07 08:20:10 -08:00