Howdy;
In lieu of being otherwise stuck on making any progress on my “main” project… I (almost regrettably) have decided to work on something less narrative-driven and more disgustingly annoying to write code for.
I suppose it could be copy-pasted into a more genuine story as a fun “little” mini-game (it’s not little at all… it’s So. Much. Code.). Which was kind of my original intention with it.
Without further hesitation; I give you the culmination of about 4 days of headache.
The Game
At the start, you and your two opponents will be dealt two “pocket” or “hole” cards. By matching these to several “community” cards, you will build a “hand” of five cards. Whoever has the best possible hand, wins.
The five community cards will be dealt in 3 waves; three cards in “the flop”, one in “the turn”, and one more in “the river”.
Lastly comes “the showdown” where you will see how well your “pocket” cards match up to the community cards and whether or not your best hand beats your opponents’ best hands.
Currently, the game isn’t able to determine an official winner, so if you lack poker knowledge, you might have a hard time figuring out who won the game… so at the moment, those familiar with the card-game may be the only ones able to appreciate it.
Some Progress/Mechanics details
For now, the game is able to recognize (highly successfully) all types of hands:
High-Card,
One-Pair,
Two-Pair,
Three-of-a-Kind,
Straight,
Flush,
Full-House,
Four-of-a-Kind,
Straight-Flush,
and Royal-Flush.
The game will even tell you what your best hand is at the showdown, though it doesn’t know whether or not you actually won yet. (Working on that).
You will see options to “Check” “Raise” “Fold” and “Call” in between the dealer’s rounds. If you don’t know what any of them are supposed to do, don’t fret!
…they don’t do anything…
(yet)
Every play-through is different. Both you and your opponents will be dealt completely new hands every time, like a real game of Poker.
Plans for the future
That’s as far as it goes for now; I’m planning to add more bots, (up to 5, but maybe more if it’s not too much trouble) and soon after that I should be able to teach Choicescript to actually compare yours and your opponents’ hands so it can actually determine a winner.
After that will probably be adding in actual betting & folding, but I’m anticipating teaching Choicescript when to Raise, Fold, Call, or Check is going to be the really hard part… I have a loose plan where, different bots will have different “personalities” when it comes to how aggressive, shy, brave, or cowardly they are at gambling.
I don’t currently have plans to make it possible to “cheat”, but I’m leaving that open as a possibility.
I hope everyone finds this as cool as I do, though from your ends, you won’t likely see the full complexity of what’s already been built here… just know that this was not a fast and easy thing to make, even as limited as it is now.
As always, thanks for playing!