Releases: gfargo/tCheckers
0.2.0
Version 0.2.0: AI Enhancements and Contribution Guidelines 🎉
Features
- Improve AI Move Logic in Single-Player Mode
- Refactor
GameBoard
to enhance AI move handling usinguseEffect
anduseCallback
. - Ensure AI moves automatically in single-player mode when it's the computer's turn.
- Add success messages for AI thinking and game over scenarios.
- Remove unnecessary console log from
MainMenu
. - Commit: 27fa6f4
- Refactor
Documentation
- Add Contribution Guidelines and Update Metadata
- Introduce
CODE_OF_CONDUCT.md
andCONTRIBUTING.md
to establish community standards and guide contributions. - Update
package.json
to includeauthor
information and refine thedescription
. - Enhance
readme.md
with detailed game overview, features, and contribution instructions. - Commit: 0dcb77a
- Introduce
Configuration
- Update GitHub Release Settings
- Modify
release-it.json
to change GitHub settings. - Set
publish
to false and enableweb
andautoGenerate
options. - Commit: 656375e
- Modify
Maintenance
- Ignore CMS Cache Files from Git
- Update
.gitignore
to exclude CMS cache files. - Commit: a2edb04
- Update
Releases
Full Changelog: 0.1.1...0.2.0
0.1.0
Release 0.1.0: Initial Release 🎉
Game Logic and State Management
-
Add context and refactor game logic (13e0b63): Introduce
GameContext
andScreenContext
for centralized state management. Refactorapp.tsx
to utilize these contexts, improving code readability and maintainability. Enhance game logic with new components likeCurrentPlayer
andPlayerScores
. Update helper functions to support newBoardPosition
type, and add AI move generation for single-player mode. -
Refactor
generateComputerMove
for clarity (67ef4b8): UpdategenerateComputerMove
to acceptcurrentBoardState
as a parameter, improving clarity and separation of concerns. Remove unused validation functions and adjust computer move delay to 2 seconds. Add logging for debugging purposes. Ensure game reset handles both single and multiplayer modes correctly. -
Pass
isMultiplayer
toGame
(3323936): UpdateApp
component to passisMultiplayer
prop toGame
. This ensures that the multiplayer state is correctly handled within theGame
component. Removed unnecessary console log for cleaner output.
UI Enhancements
- Add game mode state and enhance UI (83b2c7d): Introduce
gameMode
state to manage single and multiplayer modes effectively. Enhance the UI with colored player indicators usingchalk
for better clarity. RefactormakeMove
to includeplayer
parameter, ensuring accurate move tracking. Simplify game reset logic and streamline menu navigation.
Dependency Updates
- Add
release-it
dependency (5ba5525): Includerelease-it
version ^17.10.0 in the dependencies to automate versioning and package releases. This addition simplifies the release process by handling version bumps, changelog generation, and publishing tasks.
Full Changelog: https://github.com/gfargo/tCheckers/commits/0.1.0