Commit graph

6 commits

Author SHA1 Message Date
Matthew Mone
234ce4b5f3 refactor: Update GameLoop and StateManager logic 2026-01-14 11:12:04 -08:00
Matthew Mone
45276d1bd4 Implement BarracksScreen for roster management and enhance game state integration
- Introduce the BarracksScreen component to manage the player roster, allowing for unit selection, healing, and dismissal.
- Update GameStateManager to support roster persistence and integrate with the new BarracksScreen for seamless data handling.
- Enhance UI components for improved user experience, including dynamic filtering and sorting of units.
- Implement detailed unit information display and actions for healing and dismissing units.
- Add comprehensive tests for the BarracksScreen to validate functionality and integration with the overall game architecture.
2025-12-31 20:11:00 -08:00
Matthew Mone
cc38ee2808 Enhance GameStateManager and Persistence for campaign data management
- Introduce methods for loading and saving campaign data in GameStateManager, improving state management for player progress.
- Update Persistence layer to handle campaign data storage and retrieval, ensuring data integrity and availability.
- Add comprehensive tests for campaign data handling, including scenarios for loading existing data and managing data changes through events.
- Refactor related components to support new campaign features, enhancing overall game state management.
2025-12-31 15:06:07 -08:00
Matthew Mone
ac0f3cc396 Enhance testing and integration of inventory and character management systems
Add comprehensive tests for the InventoryManager and InventoryContainer to validate item management functionalities. Implement integration tests for the CharacterSheet component, ensuring proper interaction with the inventory system. Update the Explorer class to support new inventory features and maintain backward compatibility. Refactor related components for improved clarity and performance.
2025-12-27 16:54:03 -08:00
Matthew Mone
da55cafc8f Enhance game state management and UI integration for combat and deployment phases. Introduce CombatHUD and update DeploymentHUD to reflect current game state. Refactor GameLoop and GameStateManager to manage state transitions more effectively. Implement asset copying for JSON files in the build process. Add tests for new functionalities and ensure proper state handling during gameplay. 2025-12-21 21:20:33 -08:00
Matthew Mone
5be96d2846 Implement game state management and persistence system. Introduce GameStateManager for handling game states, including transitions between main menu, team builder, and game run. Add Persistence class for saving and loading game data using IndexedDB. Enhance team builder UI with class definitions and improved layout. Include unit tests for GameStateManager functionality. 2025-12-19 15:07:36 -08:00