Skip to content

Releases: gfargo/tCheckers

0.3.1

Choose a tag to compare

@gfargo gfargo released this 13 Oct 05:55
a31b4f8

Features

  • Add .nvmrc file specifying Node.js version 20.14.0 for consistent environment setup (eb31975)
  • Update README to include badges for npm version, downloads, and GitHub stars to enhance project visibility (eb31975)

UI Improvements

  • Enhance UI layout and styling by adding Box components, setting SCREEN_WIDTH, and integrating ink-gradient for vibrant titles in MainMenu (fe49dd9)
  • Adjust GameBoard, MoveHistory, and PlayerScores for better spacing and alignment, improving overall user experience (fe49dd9)

Refactors

  • Move game message rendering to a new GameMessages component for cleaner separation of concerns (3c86f48)
  • Update GameBoard to use useCallback for handleMove to optimize performance (3c86f48)
  • Remove unused Text import and BOARD_COLORS from GameBoard to clean up codebase (3c86f48)

Dependency Management

  • Remove @sindresorhus/tsconfig from devDependencies to reduce package size and potential vulnerabilities (c95e8aa)
  • Move release-it from dependencies to devDependencies and reorder eslint-plugin-react for better dependency categorization (99facab)
  • Update release-it.json to set publish to false and enable web and autoGenerate options for improved release workflow (656375e)

Version Bumps

Full Changelog: 0.2.0...0.3.1

0.2.0

Choose a tag to compare

@gfargo gfargo released this 01 Nov 13:42
603aa30

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

Choose a tag to compare

@gfargo gfargo released this 30 Oct 18:43
5ba5525

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