Commit graph

22 commits

Author SHA1 Message Date
Matthew Mone
b0ef4f30a9 feat: Introduce new procedural generation systems for Crystal Spires, Void Seep Depths, Cave, and Contested Frontier, complete with textures, tests, a map visualizer, and game loop. 2026-01-07 09:00:10 -08:00
Matthew Mone
930b1c7438 feat: Implement core game loop, state management, mission generation, and add initial mission data with debug commands. 2026-01-02 22:02:27 -08:00
Matthew Mone
964a12fa47 feat: Implement core game loop, state management, and mission system with initial mission data. 2026-01-02 15:25:26 -08:00
Matthew Mone
8ac9fa441d Enhance mission management and gameplay interactions
- Introduce detailed logging for unit deaths during damage and chain damage events in GameLoop, improving feedback on combat outcomes.
- Update MissionManager to store completed mission details, ensuring procedural missions are accurately tracked and displayed in the UI.
- Modify TurnSystem to handle unit deaths from environmental hazards, enhancing gameplay realism and unit management.
- Improve MissionBoard to include completed missions that are no longer in the registry, ensuring players have visibility into past achievements.
- Add tests to validate new features and ensure integration with existing systems, enhancing overall game reliability.
2026-01-02 09:13:16 -08:00
Matthew Mone
0f4210d5c4 Enhance mission management and introduce new mission features
- Add support for regenerating procedural missions and generating specific mission types through the DebugCommands class.
- Implement new methods in MissionManager for populating zone coordinates for REACH_ZONE objectives, improving mission complexity and tracking.
- Update GameLoop to dispatch UNIT_MOVE events for better interaction tracking with mission objectives.
- Introduce MissionReview component for reviewing completed missions, displaying rewards and narrative elements.
- Enhance MissionBoard to support mission review functionality and improve UI for mission selection.
- Add tests for new mission features and ensure integration with existing game systems.
2026-01-01 21:02:37 -08:00
Matthew Mone
63bfb7da31 Add agent instructions and NPC personality specifications
- Introduce AGENTS.md to outline agent behavior, quality standards, and self-improvement guidelines.
- Create AI-AGENTS.md for internal agent use, ensuring clarity in agent operations.
- Add NPC_Personalities.md to define character traits, speech patterns, and writing guidelines for major NPCs, enhancing narrative consistency.
- Update mission JSON files to include new narrative elements and unlock conditions for procedural missions.
- Enhance GameLoop and MissionManager to support new mission features and procedural generation.
- Implement tests for new functionalities to ensure integration and reliability within the game architecture.
2026-01-01 17:57:06 -08:00
Matthew Mone
2c86d674f4 Add mission debrief and procedural mission generation features
- Introduce the MissionDebrief component to display after-action reports, including XP, rewards, and squad status.
- Implement the MissionGenerator class to create procedural side missions, enhancing replayability and resource management.
- Update mission schema to include mission objects for INTERACT objectives, improving mission complexity.
- Enhance GameLoop and MissionManager to support new mission features and interactions.
- Add tests for MissionDebrief and MissionGenerator to ensure functionality and integration within the game architecture.
2026-01-01 16:08:54 -08:00
Matthew Mone
8d2baacd5f Enhance GameLoop and GameStateManager for improved mission handling and health management
- Integrate narrative management into the GameLoop to handle mission completion and transitions, ensuring a smooth player experience.
- Implement health restoration logic for units based on roster data, preserving health values across missions.
- Update GameStateManager to clear active run data upon mission completion or failure, enhancing state management.
- Enhance Persistence layer with detailed logging for campaign data loading and saving, improving debugging and data integrity.
- Add event listeners in UI components to refresh mission data upon campaign changes, ensuring real-time updates for players.
2025-12-31 20:48:12 -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
a9d4064dd8 Implement Marketplace system and enhance game state management
- Introduce the Marketplace system, managed by MarketManager, to facilitate buying and selling items, enhancing player engagement and resource management.
- Update GameStateManager to integrate the new MarketManager, ensuring seamless data handling and persistence for market transactions.
- Add specifications for the Marketplace UI, detailing layout, functionality, and conditions of acceptance to ensure a robust user experience.
- Refactor existing components to support the new marketplace features, including dynamic inventory updates and currency management.
- Enhance testing coverage for the MarketManager and MarketplaceScreen to validate functionality and integration within the game architecture.
2025-12-31 13:52:59 -08:00
Matthew Mone
5c335b4b3c Add HubScreen and MissionBoard components for campaign management
Introduce the HubScreen as the main interface for managing resources, units, and mission selection, integrating with the GameStateManager for dynamic data binding. Implement the MissionBoard component to display and select available missions, enhancing user interaction with mission details and selection logic. Update the GameStateManager to handle transitions between game states, ensuring a seamless experience for players. Add tests for HubScreen and MissionBoard to validate functionality and integration with the overall game architecture.
2025-12-31 10:49:26 -08:00
Matthew Mone
f04905044d Implement EffectProcessor and related systems for enhanced game mechanics
Introduce the EffectProcessor class to manage game state changes through various effects, including damage, healing, and status application. Define type specifications for effects, conditions, and passive abilities in Effects.d.ts. Add a comprehensive JSON registry for passive skills and item effects, enhancing gameplay dynamics. Update the GameLoop and TurnSystem to integrate the EffectProcessor, ensuring proper handling of environmental hazards and passive effects during combat. Enhance testing coverage for the EffectProcessor and environmental interactions to validate functionality and performance.
2025-12-30 20:50:11 -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
ea4e327585 Add combat state and movement systems to manage turn-based mechanics. Implement CombatState and MovementSystem classes, integrating them into GameLoop for combat flow. Enhance UI with CombatHUD for displaying turn queue and active unit status. Add comprehensive tests for combat logic and movement validation, ensuring adherence to specifications. 2025-12-23 16:22:32 -08:00
Matthew Mone
17590cdab0 Add combat state management to GameLoop and GameStateManager. Implement updateCombatState method to manage turn queue and active unit status during combat. Integrate combat state updates in GameViewport for UI responsiveness. Enhance type definitions for combat-related structures. 2025-12-22 14:34:43 -08:00
Matthew Mone
1b8775657f Refactor Persistence tests to improve mock handling of indexedDB. Introduce createMockRequest function for better request management and ensure proper triggering of success and upgrade events during database initialization. Update PostProcessing tests to clarify grid setup for floodFill functionality. 2025-12-22 14:25:32 -08:00
Matthew Mone
ebaa3006f9 Add type definitions for generation, grid, and manager components. Implement tests for BaseGenerator, CaveGenerator, RuinGenerator, and mission management. Enhance narrative handling in NarrativeManager and RosterManager. Ensure comprehensive coverage of game mechanics and state transitions. 2025-12-22 12:57:04 -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
0faef9d178 Implement InputManager for comprehensive input handling, including keyboard, mouse, and gamepad support. Integrate InputManager into GameLoop for cursor management and validation during gameplay. Enhance GameLoop with input event handling for movement and selection. Add unit tests for InputManager to ensure functionality and reliability. 2025-12-19 20:58:16 -08:00
Matthew Mone
2d72fb9170 Enhance GameLoop with deployment phase management and spawn zone logic. Introduce unit deployment functionality and finalize deployment to spawn enemies. Update RuinGenerator to define valid spawn zones for player and enemy units. Add integration tests for GameLoop to verify initialization, deployment, and enemy spawning behaviors. 2025-12-19 16:02:42 -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