Skip to content

Releases: gfargo/tCheckers

0.2.0

01 Nov 13:42
603aa30
Compare
Choose a tag to compare

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 using useEffect and useCallback.
    • 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

Documentation

  • Add Contribution Guidelines and Update Metadata
    • Introduce CODE_OF_CONDUCT.md and CONTRIBUTING.md to establish community standards and guide contributions.
    • Update package.json to include author information and refine the description.
    • Enhance readme.md with detailed game overview, features, and contribution instructions.
    • Commit: 0dcb77a

Configuration

  • Update GitHub Release Settings
    • Modify release-it.json to change GitHub settings.
    • Set publish to false and enable web and autoGenerate options.
    • Commit: 656375e

Maintenance

  • Ignore CMS Cache Files from Git
    • Update .gitignore to exclude CMS cache files.
    • Commit: a2edb04

Releases

Full Changelog: 0.1.1...0.2.0

0.1.0

30 Oct 18:43
5ba5525
Compare
Choose a tag to compare

Release 0.1.0: Initial Release 🎉

Game Logic and State Management

  • Add context and refactor game logic (13e0b63): Introduce GameContext and ScreenContext for centralized state management. Refactor app.tsx to utilize these contexts, improving code readability and maintainability. Enhance game logic with new components like CurrentPlayer and PlayerScores. Update helper functions to support new BoardPosition type, and add AI move generation for single-player mode.

  • Refactor generateComputerMove for clarity (67ef4b8): Update generateComputerMove to accept currentBoardState 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 to Game (3323936): Update App component to pass isMultiplayer prop to Game. This ensures that the multiplayer state is correctly handled within the Game 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 using chalk for better clarity. Refactor makeMove to include player parameter, ensuring accurate move tracking. Simplify game reset logic and streamline menu navigation.

Dependency Updates

  • Add release-it dependency (5ba5525): Include release-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