Expand description
Open Auto Battler Game Modes
Game-mode rules, session management, and validation built on top of the oab-battle engine. This crate is no_std compatible for use in blockchain pallets.
Re-exports§
pub use state::derive_hand_indices_logic;pub use state::GamePhase;pub use state::GameSession;pub use state::GameState;pub use state::LocalGameState;pub use view::*;
Modules§
- constructed
- Constructed format — deck validation and configuration for user-built decks.
- sealed
- Sealed format — random bag generation from a card set.
- state
- Game session state management
- view
- View types for UI serialization
Structs§
- Game
Config - Configuration for a game mode.