Craps (Dice Game)

Using, learning, programming and modding the Gigatron and anything related.
Forum rules
Be nice. No drama.
Post Reply
delpozzo
Posts: 38
Joined: 03 Jun 2020, 18:47

Craps (Dice Game)

Post by delpozzo »

Craps dice game for Gigatron developed in at67's gtBASIC. Requires Gigatron ROMv3 or higher. Enjoy!

Image

Craps.gt1 - https://github.com/delpozzo/gigatron/ra ... /Craps.gt1
Craps.gbas - https://github.com/delpozzo/gigatron/ra ... Craps.gbas
Craps.gasm - https://github.com/delpozzo/gigatron/ra ... Craps.gasm

Gamepad Controls
Up, Down - Increase / Decrease bet
A Button - Roll the dice
B Button - Roll the dice

Keyboard Controls
Up, Down - Increase / Decrease bet
Backspace, Delete, End - Roll the dice
Home, PrtScn/Insert/SysReq - Roll the dice

Gameplay
Craps is a dice game where you bet on the outcomes of the roll of a pair of dice.
Each round has two phases, "come-out" and "point", which are described below:

Come-Out Phase
First, wager your bet with Up/Down.
Next, roll the dice by pressing A or B on the gamepad.
A come-out roll of 2 ("Snake Eyes"), 3 ("Craps Three"), or 12 ("Boxcars") is called "craps" or "crapping out" and you lose the bet.
A come-out roll of 7 ("Lucky Seven") or 11 ("Yo-leven") is a "natural" and you win the bet.
All other rolls (4, 5, 6, 8, 9, and 10) establish the "point", and you move onto the second phase of the game described below.

Point Phase
During the point phase, press A or B on the gamepad to start rolling the dice.
The dice will continue to roll until you either hit your point and win, or roll a 7 ("Seven Out") and lose.
Unlike the come-out phase, it is important to note that your bet is unaffected by rolls of 2, 3, 11, or 12 at this time.
bmwtcu
Posts: 145
Joined: 01 Nov 2018, 12:02

Re: Craps (Dice Game)

Post by bmwtcu »

Nice work Mike! Dude, first Poker then Craps... When are Slots, Roulette and Blackjack going to be released? I'll get started working on the Gigatron Casino setup. Congrats again!
at67
Site Admin
Posts: 647
Joined: 14 May 2018, 08:29

Re: Craps (Dice Game)

Post by at67 »

Very nice, I fully support the Gigatron Casino and I am quite prepared to lose everything at it.
bmwtcu
Posts: 145
Joined: 01 Nov 2018, 12:02

Re: Craps (Dice Game)

Post by bmwtcu »

casino.png
casino.png (39.43 KiB) Viewed 2125 times
delpozzo
Posts: 38
Joined: 03 Jun 2020, 18:47

Re: Craps (Dice Game)

Post by delpozzo »

Thanks guys!! The Gigatron Dream Casino is one step closer to reality! I want to say that the odds are way more honest/fair on the Gigatron compared to modern casino machines, but that might just be a reflection of my bad luck :lol:
Post Reply