branchrust_reboot/main/Caboose/Blackjackcancel
178 Commits over 30 Days - 0.25cph!
Gameplay WIP. Dealer makes his play. Some work on end-of-round scoring.
Custom PlayersInRound() IEnumerator prevents having to check HasUserInCurrentRound all the time in card game foreach loops. Other WIP.
Merge Caboose -> Blackjack
A more aesthetically pleasing dealer value display
Ignoring a workspaces.db file that a VS extension uses
- Don't send the dealer's hidden card to the client at all until the end of the round
- Widget shows dealer's score
Players can bust (value over 21). Round can end with only one player left.
Add support for going all-in. WIP basic actions and turns.
Calculate score for player's cards and show it in the UI
CardGamePlayerWidget now has a dynamic layout. Added optional extra area, will be used to show the player's card value in Blackjack
If in editor, auto-give the player some scrap when they play a card game (similar to how vehicles get free fuel).
Allow changing dynamic bet amount with mouse wheel
Force-quit anyone who didn't place a bet during the initial phase timer
Move table-destroy payout code to the base CardGameController
Stopped Rust complaining about not understanding the command line args that Unity is automatically adding ("licensingIpc", "hubSessionId" etc)
Reduced "Rust+ companion server connectivity", "Failed to find DungeonGridRoot", and "Failed to find DungeonBaseRoot" errors to warning level when in editor (prevent spam in game window).
Display bets correctly for Blackjack in the widget.
Lower Blackjack mount eye pos so the player doesn't feel like they're inhabiting a wacky waving inflatable tube man when they look straight down
Moved the poker-specific stuff in CardGamePlayerWidget into TexasHoldEmUI
UI action phrases for Blackjack game actions
Center Blackjack cards in the UI
Deal the rest of the initial cards, hide only the second on the dealer's cards
Show players' cards in Blackjack
Blackjack initial card deal, saving last actions
Merge Caboose -> Blackjack. I promise this is the last merge today.
Merge Caboose -> Blackjack again
Merge Caboose -> Blackjack
Blackjack bets are submitted properly. Don't show the pot UI.
Bet/Raise UI improvements. Fixed up/down input showing in poker when Reveal Hand was active. Formatting - changing some card game files to Rust standard code formatting.
Improved the clarity of the increase/decrease bet interface
Rename the card table storage, since the Blackjack game isn't really at a table
"Place your bets" UI + more