Package javatro.core
package javatro.core
The
core package contains the core game logic and data structures necessary for managing
the game state, rounds, cards, and hands.
This package is responsible for handling the deck, player hands, and round mechanics while interacting with the game manager and view components.
Classes in this package:
Card- Represents an individual playing card.Deck- Manages the deck of cards used in the game.HandResult- Stores and evaluates the result of a player's hand.HoldingHand- Represents the player's current hand.JavatroCore- The main game model responsible for game state and round management.PokerHand- Defines and evaluates different types of poker hands.
-
ClassDescriptionThe
Anteclass represents the ante system in a poker game, managing the current round, ante values, and blind progression.Enum representing different blind levels with associated multipliers and names.Represents the types of bosses available in the game.Represents a playing card with a rank and a suit in a card game.Enumeration of card ranks with associated symbols and chip values.Enumeration of card suits with full display names.Enum representing the type of the deck.The `HandResult` class evaluates a poker hand based on the given cards.The core game logic class that manages the game state and rounds.Custom exception class for handling application-specific errors in the Javatro game.Represents a planet card associated with a specific poker hand type.Represents the evaluated result of a poker hand with tracking for progression levels and usage counts.Enumeration of poker hand types with associated base values and progression parameters.Contains the algorithm for calculating the final score and played hand.