How hugo-grandia-my-guy/balaltrofirst works
Mini Balatro is a console poker-hand scoring game. The player selects cards to play or discard; the game draws replacements, evaluates played hands, applies card and hand multipliers, updates the round score, and proceeds to another round when the target is reached. The graph separates gameplay orchestration, card/deck state, hand evaluation, and console presentation. Evidence is limited to the supplied excerpts and source index; some model details are represented by their exact enclosing directory where their behavior was not sampled.
Main entry points: Game.cs Game loop · Deck.cs Deck · PokerHandEvaluator.cs Hand evaluator · Program.cs Program entry
Components 12
Gameplay
- Program entry
ConsoleApp1/Program.cs - Game loop
ConsoleApp1/Game.cs - Round state
ConsoleApp1/models/Rounds.cs
Cards
- Deck
ConsoleApp1/models/Deck.cs - Card model
ConsoleApp1/models/Card.cs - Special cards
ConsoleApp1/models - Rank and suit
ConsoleApp1/models/Value.cs
Hand evaluation
- Hand evaluator
ConsoleApp1/models/PokerHandEvaluator.cs - Poker hand rules
ConsoleApp1/models/PokerHands - Hand result
ConsoleApp1/models/PokerHandEvaluator.cs
Console UI
- Round view model
ConsoleApp1/ViewModels/RoundViewModel.cs
Other components
- Player
Connections 14
- Player → Program entry: starts game
ConsoleApp1/Program.cs - Program entry → Game loop: creates game
ConsoleApp1/Program.cs - Player → Game loop: selects actions
ConsoleApp1/Game.cs - Game loop → Deck: draws cards
ConsoleApp1/Game.cs - Deck → Card model: creates and draws
ConsoleApp1/models/Deck.cs - Deck → Special cards: creates variants
ConsoleApp1/models/Deck.cs - Card model → Rank and suit: uses rank and suit
ConsoleApp1/models/Card.cs - Game loop → Hand evaluator: evaluates played hand
ConsoleApp1/Game.cs - Hand evaluator → Poker hand rules: dispatches match checks
ConsoleApp1/models/PokerHandEvaluator.cs - Hand evaluator → Hand result: returns hand result
ConsoleApp1/models/PokerHandEvaluator.cs - Game loop → Special cards: applies card bonuses
ConsoleApp1/Game.cs - Game loop → Round state: updates round state
ConsoleApp1/Game.cs - Game loop → Round view model: refreshes display data
ConsoleApp1/Game.cs - Round view model → Round state: reads round state
ConsoleApp1/ViewModels/RoundViewModel.cs