Video Poker
Posted: 11 Nov 2020, 19:09
Good news everyone! The Gigatron is now ready for installation at your local casino as a video poker machine
I've been working on this project for awhile now in my spare time and had an absolute blast developing it! I'd like to make a huge shout-out to at67, I can't thank you enough for gtBASIC and your emulator. My software development background is primarily in C and other higher level languages; while I do have some basic assembly skills my experience is quite limited. The gtBASIC compiler made this project achievable for me, and being able to just click on my .gbas file in the emulator for an automatic compile and test run was an essential part of my development and debugging process.
The latest release is availble on my GitHub repo here: https://github.com/delpozzo/gigatron
Direct download links are as follows:
VideoPoker.gt1 - https://github.com/delpozzo/gigatron/ra ... oPoker.gt1
VideoPoker.gbas - https://github.com/delpozzo/gigatron/ra ... Poker.gbas
VideoPoker.gasm - https://github.com/delpozzo/gigatron/ra ... Poker.gasm
Gamepad Controls
Left, Right - Card selection
Up, Down - Increase / Decrease bet
A Button - Hold / Unhold card
B Button - Deal / Draw
Keyboard Controls
Left, Right - Card selection
Up, Down - Increase / Decrease bet
Backspace, Delete, End - Hold / Unhold card
Home, PrtScn/Insert/SysReq - Deal / Draw
Gameplay
During the bet round, use Up or Down to increase or decrease your bet. The minimum bet is 1 credit and the maximum is 5 credits. Press B to deal the cards. Select cards using Left or Right. Press A to toggle Hold on the selected card. Press B to exchange unheld cards for new ones from the deck. If a winning hand results, you will be awarded the amount of credits corresponding to the illuminated win on the payout board at the top of the screen. The bet can now be increased or decreased again before the next round of cards is dealt.
Winning hands and rewards are as follows:
Royal Flush: 250 x Bet
Straight Flush: 50 x Bet
Four of a Kind: 25 x Bet
Full House: 9 x Bet
Flush: 6 x Bet
Straight: 4 x Bet
Three of a Kind: 3 x Bet
Two Pair: 2 x Bet
Pair of Jacks or Better: 1 x Bet
Feedback is always appreciated, especially if anyone encounters any bugs! On my Gigatron GitHub repo, at67 also pointed out some optimizations that I could make which is what I plan on working on next. In the meantime, the game should be completely playable on ROMv3 or higher in its current state.
I've been working on this project for awhile now in my spare time and had an absolute blast developing it! I'd like to make a huge shout-out to at67, I can't thank you enough for gtBASIC and your emulator. My software development background is primarily in C and other higher level languages; while I do have some basic assembly skills my experience is quite limited. The gtBASIC compiler made this project achievable for me, and being able to just click on my .gbas file in the emulator for an automatic compile and test run was an essential part of my development and debugging process.
The latest release is availble on my GitHub repo here: https://github.com/delpozzo/gigatron
Direct download links are as follows:
VideoPoker.gt1 - https://github.com/delpozzo/gigatron/ra ... oPoker.gt1
VideoPoker.gbas - https://github.com/delpozzo/gigatron/ra ... Poker.gbas
VideoPoker.gasm - https://github.com/delpozzo/gigatron/ra ... Poker.gasm
Gamepad Controls
Left, Right - Card selection
Up, Down - Increase / Decrease bet
A Button - Hold / Unhold card
B Button - Deal / Draw
Keyboard Controls
Left, Right - Card selection
Up, Down - Increase / Decrease bet
Backspace, Delete, End - Hold / Unhold card
Home, PrtScn/Insert/SysReq - Deal / Draw
Gameplay
During the bet round, use Up or Down to increase or decrease your bet. The minimum bet is 1 credit and the maximum is 5 credits. Press B to deal the cards. Select cards using Left or Right. Press A to toggle Hold on the selected card. Press B to exchange unheld cards for new ones from the deck. If a winning hand results, you will be awarded the amount of credits corresponding to the illuminated win on the payout board at the top of the screen. The bet can now be increased or decreased again before the next round of cards is dealt.
Winning hands and rewards are as follows:
Royal Flush: 250 x Bet
Straight Flush: 50 x Bet
Four of a Kind: 25 x Bet
Full House: 9 x Bet
Flush: 6 x Bet
Straight: 4 x Bet
Three of a Kind: 3 x Bet
Two Pair: 2 x Bet
Pair of Jacks or Better: 1 x Bet
Feedback is always appreciated, especially if anyone encounters any bugs! On my Gigatron GitHub repo, at67 also pointed out some optimizations that I could make which is what I plan on working on next. In the meantime, the game should be completely playable on ROMv3 or higher in its current state.