Skip to content

0.3.0

Choose a tag to compare

@gfargo gfargo released this 12 Jan 14:25
· 14 commits to main since this release
1b9a5f7

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 flippedIndices parameter to track flipped cards, allowing AI to make more informed decisions. Update GameScreen to pass flippedIndices to findAIMove. Add debug logging in cli and rename test file for clarity. (Commit: fefc07a)

Game Architecture Refactor

  • Refactor game architecture for improved modularity by introducing GameContext and HighScoreContext for 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 localStorage to Conf for high score storage, introducing schema validation for data integrity. Update scripts in package.json to 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