Commit graph

33 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
2898701b46 feat: introduce core game systems including input management with raycasting, voxel and mission managers, game loop, combat HUD, and unit assets. 2026-01-02 20:43:28 -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
a7c60ac56d Implement Research system and enhance mission management
- Introduce the ResearchManager to manage tech trees, node unlocking, and passive effects, enhancing gameplay depth.
- Update GameStateManager to integrate the ResearchManager, ensuring seamless data handling for research states.
- Implement lazy loading for mission definitions and class data to improve performance and resource management.
- Enhance UI components, including the ResearchScreen and MissionBoard, to support new research features and mission prerequisites.
- Add comprehensive tests for the ResearchManager and related UI components to validate functionality and integration within the game architecture.
2026-01-01 09:18:09 -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
56aa6d79df Add Combat Skill Usage and Targeting System Specifications
Introduce detailed specifications for combat skill usage, including interaction flow, state machine updates, and the skill targeting system. Implement the SkillTargetingSystem to handle targeting validation and area of effect calculations. Enhance the CombatHUD specification to define the UI overlay for combat phases. Integrate these systems into the GameLoop for improved combat mechanics and user experience.
2025-12-23 21:01:54 -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
095bd778fd Add CombatHUD component with TypeScript interfaces for combat state management. Implement UI elements for turn queue, unit status, and action bar, including responsive design for mobile. Add event handling for skill selection and turn management. Include comprehensive tests for UI functionality and state updates. 2025-12-22 12:57:13 -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
ec25c71eb1 Refactor mission management and game state integration. Replace tutorial mission initiation with a new game start function. Update mission JSON schema to enhance narrative and objective handling. Introduce MissionManager for mission state management and integrate with GameStateManager for improved game flow. Enhance UI components for squad management and deployment. Include tests for new mission and narrative functionalities. 2025-12-21 20:40:48 -08:00
Matthew Mone
aab681132e Add mission management and narrative systems. Introduce MissionManager for handling mission states, objectives, and narrative triggers. Implement mission JSON schema and integrate with GameLoop for mission initiation and gameplay flow. Add RosterManager for unit management and deployment. Enhance UI with DeploymentHUD and DialogueOverlay for mission deployment and narrative presentation. Include tests for MissionManager and NarrativeManager functionalities. 2025-12-20 21:04:44 -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
781aee81a7 Add UnitManager and Enemy classes for unit lifecycle management and AI behavior. Update GameLoop to integrate UnitManager for unit spawning with mock registry. Enhance spawnSquad logic for unit placement and collision checks. Add unit tests for UnitManager and Enemy functionalities. 2025-12-19 15:35:29 -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
Matthew Mone
391abd6ea6 Refactor build process to use index.js as entry point, enabling module splitting and outputting to dist directory. Introduce new game logic in index.js, including team builder and game viewport components. Add JSON class definitions for new character classes and implement item and skill tree systems. Enhance unit tests for item and explorer functionalities. 2025-12-19 08:38:22 -08:00
Matthew Mone
2a103a3a2a Enhance procedural generation with new biome generators and texture support. Added CrystalSpiresGenerator, updated CaveGenerator and RuinGenerator with texture integration, and improved VoxelManager for better rendering. Increased timeout for texture generation tests to ensure stability in CI environments. 2025-12-18 21:19:22 -08:00
Matthew Mone
4f7550a8e9 updated generation 2025-12-17 11:26:42 -08:00
Matthew Mone
1c3411e7de VoxelGrid and VoxelManager 2025-12-16 15:52:58 -08:00