Go to file
Brian Fertig 63be7a337e Implement turn-based gameplay with phase control and interactive card restrictions
This commit introduces a comprehensive turn-based system that controls when players can interact with cards. The changes include:

- Adding turnPhase state tracking with draw, player_play, and cpu_play phases
- Setting initial turn phase to player_play for proper game flow
- Implementing conditional logic in card interaction handlers (hover, click)
- Restricting all interactive card behaviors to only occur during the player's turn phase
- Updating documentation comments to reflect the new turn-based control system

These changes establish the foundation for a structured gameplay sequence where players can only play cards during their designated turn phase, preventing actions outside of proper game flow.
2025-08-13 19:56:22 -06:00
.continue/rules first commit 2025-08-12 19:23:41 -06:00
src Implement turn-based gameplay with phase control and interactive card restrictions 2025-08-13 19:56:22 -06:00
index.html feat: Implement card data management with multiple decks 2025-08-12 20:25:55 -06:00
package.json first commit 2025-08-12 19:23:41 -06:00
start_web.bat first commit 2025-08-12 19:23:41 -06:00