Repository navigation
0.3.0
Release 0.3.0: AI Enhancements, Multiplayer, and Modular Refactor
AI Strategy Improvements
- Enhance AI move strategy to consider previously flipped cards, improving AI's ability to remember and match pairs. Add
flippedIndicesparameter to track flipped cards, allowing AI to make more informed decisions. UpdateGameScreento passflippedIndicestofindAIMove. Add debug logging incliand rename test file for clarity. (Commit: fefc07a)
Game Architecture Refactor
- Refactor game architecture for improved modularity by introducing
GameContextandHighScoreContextfor state management. Create new components for game screens and UI elements, enhancing maintainability and separation of concerns. Use context providers and hooks for game logic and high score management. (Commit: 68ab092)
New Features: Multiplayer and Custom Grids
- Add multiplayer mode with 'vs-player' feature, allowing competitive gameplay. Enhance grid customization with support for preset and custom dimensions, including rectangular grids. Update controls for switching between game modes and grid selection modes. Improve high score tracking for different modes and grid configurations. (Commit: 28b3b4b)
High Score Storage and UI Adjustments
- Switch from
localStoragetoConffor high score storage, introducing schema validation for data integrity. Update scripts inpackage.jsonto use npm instead of yarn for consistency. Adjust UI layout for better alignment and update copyright year. (Commit: 2a05a8c)
Full Changelog: 0.2.0...0.3.0