branchrust_reboot/main/Caboose/Blackjackcancel
178 Commits over 30 Days - 0.25cph!
OPERATOR: MAIN SCREEN TURN ON.
Rename Stake to Bet to match the 2D UI
Added the small monitor info screen layout
Better text centering - the automatic layout never quite gets this right, it always puts the text a little above center.
Auto-layout improvement to handle overlapping cards
Changing Surrender to Abandon, no half bet back
Basic monitor UI layout for the small Blackjack monitors
Changed handling of the player having 21
Differentiate between a loss and not being in a round at all, so we can do different UI (this didn't matter with poker since we just show "x won the round" rather than "you lose"). Also show Bust as a different result status.
Bug fixes, and do random move correctly during betting phase
Fix poker UI errors when a player folds
New winner data, showing the round results in a more Blackjack-ish way. We don't really care about which players won or lost like we do in Poker, so much as just our personal result vs. the dealer.
Fixed winner and standoff result calculations
Added surrender support (mainly for players leaving the table or getting killed suddenly during a round, but can be an optional move too - pays half the bet back).
Fixed betting issues. Support three separate bets at once per player since they could have split and taken insurance. Ignore the pot, we'll destroy and create scrap as it's needed.
Handle splits in the winner calculation
Properly show when the dealer wins
Filled in missing phrases
Handling all types of payouts
Pay out the insurance (at 2:1). Some additional cleanup.
Display insurance bet amount in the widget
Don't allow taking insurance after taking insurance
Added support for a side bet when buying Insurance. Added support for any custom icon in the player UI widget. Show Insurance icon there.
Don't let the dealer count an ace as one when deciding whether to hit or stand
Fixed dealer info not showing BUST
Handle the hidden card properly when doubling down
Sync local player pocket (secondary) cards. Handle doubling down.
Refactor/handle playing taking multiple actions during their turn properly
Revert debug card choices
Card game player widget card count is now dynamic (previously hard coded to two cards).
Implemented "split" action.
Card players can now have a second, separate set of cards (will be used for blackjack splits)
Fixed cards now animating in the Blackjack UI
Implement EditorMakeRandomMove for Blackjack
Improved system for managing hidden cards. Allows the Blackjack dealer's first card to be hidden, and second card shown. ProtoBuf no longer needs trueCardCount.
Functions for splits, doubling down, and insurance. Sounds.