Files
Jeff Atwood 9e0065b0cd Merge pull request #894 from GKnirps/cargo_lock
Un-ignore Cargo.lock
2023-08-28 16:14:36 -07:00
..
2022-03-05 09:29:23 +01:00
2023-08-07 16:10:48 -07:00
2022-03-05 09:29:23 +01:00
2022-01-20 10:38:04 +01:00
2022-01-04 20:20:00 +00:00
2023-08-28 20:57:27 +02:00
2022-01-03 03:26:45 +11:00
2023-08-28 21:06:35 +02:00
2022-03-05 09:29:23 +01:00

Acey Ducey

This is a simulation of the Acey Ducey card game. In the game, the dealer (the computer) deals two cards face up. You have an option to bet or not to bet depending on whether or not you feel the next card dealt will have a value between the first two.

Your initial money is set to $100; you may want to alter this value if you want to start with more or less than $100. The game keeps going on until you lose all your money or interrupt the program.

The original program author was Bill Palmby of Prairie View, Illinois.


As published in Basic Computer Games (1978):

Downloaded from Vintage Basic at http://www.vintage-basic.net/games.html

Known Bugs

  • Entering a negative bet allows you to gain arbitrarily large amounts of money upon losing the round.

Porting Notes

  • The assignment N = 100 in line 100 has no effect; variable N is not used anywhere else in the program.