A Unity Checkers Logic Package with customizable pieces with scripts, compatible with Unity 2020.3+, for PC, mobile, consoles, and more.# Checkers Logic Package for UnityA fully customizable and extensible checkers engine for Unity, supporting both 2D and 3D gameplay. Designed for easy integration, flexible visuals, and robust game logic, this package is ideal for developers who want to add checkers mechanics to their projects or build a complete checkers game.## Features- **2D & 3D Checkers Support:** Seamlessly switch between 2D and 3D board layouts.- **Customizable Grid:** Set grid size and cell size to fit your game’s needs.- **Piece Prefabs:** Assign your own prefabs for each piece type (Man, King) for full visual control.- **Flexible Board Setup:** Easily modify board appearance and layout.- **Layer Management:** Squares and pieces are auto-assigned to layers for correct interaction and rendering.- **Parenting Structure:** Pieces and move plates are organized under parent objects for clean scene management.- **Game Modes:** Supports Player vs Player, Player vs Bot, and Bot vs Bot.- **AI Bot:** Built-in bot logic for single-player or AI vs AI games.- **Undo, Redo, and Replay:** Integrate the `RecorderManager` for full move history, undo/redo, and replay functionality.- **UI Integration:** Includes UI scripts and templates for game screens, stats, and controls.- **Editor-Friendly:** Designed for Unity’s built-in tools and workflows.- **Extensible Logic:** Each piece (Man, King) has its own script for easy customization of movement and rules.## Getting Started### 1. Add the Checkers Component- Attach the `Checkers` component to a GameObject in your scene.- Assign your piece prefabs (Man, King) in the inspector.- Set the grid size and cell size as needed.### 2. Configure Game Mode- For Player vs Player, no extra setup is needed.- For Player vs Bot or Bot vs Bot:- Add a `Bot` component to the scene.- Reference the `Bot` in the `Checkers` component.- Set the desired team for the bot (Black or White).### 3. Enable Undo/Redo/Replay- Add a `RecorderManager` component to your scene.- Reference it in the `Checkers` and `GamePlay` components and subscribe to its UndoRedoCommand delegate- This enables move history, undo/redo, and replay features.### 4. UI and Visuals- Use the provided UI Toolkit assets and scripts (see `Runtime/Scripts/UI`) for game screens, stats, and controls.- Customize or extend the UI as needed.## Advanced Features- **Custom Rules:** Extend the `Man` and `King` scripts to implement custom movement or capture rules.- **Game State Tracking:** The `BoardInfo` and `RecorderManager` handle full game state serialization for saving/loading and replay.- **Statistics:** Track wins, losses, streaks, and more via the built-in stats system.- **Visual Feedback:** UI scripts provide turn indicators, game over screens, and stats panels.## Example Scene Setup1. Create an empty GameObject and add the `Checkers` component.2. Assign your piece prefabs and configure the grid.3. (Optional) Add a `Bot` component and set its team.4. (Optional) Add a `RecorderManager` for undo/redo/replay.5. Add the provided UI prefabs or use your own.## Folder Structure- `Runtime/Scripts/Logic/` – Core game logic (Checkers, Bot, RecorderManager, BoardInfo, Man, King, Cell)- `Runtime/Scripts/UI/` – UI scripts and templates- `Documentation/` – This README and additional docs## Extending the Package- Add new piece types or rules by extending the base scripts.- Customize the UI or integrate with your own menu systems.- Use the event system to hook into moves, promotions, and game state changes.## Support_Email_:bluebilly111@gmail.comTechnical Specifications-Supported Unity VersionsUnity 2020.3 (LTS) or later.Works with Unity 2021.x and 2022.x versions without compatibility issues.Full support for both URP (Universal Render Pipeline) and HDRP (High Definition Render Pipeline).-Supported PlatformsPC: Windows, macOS, LinuxMobile: Android, iOSConsoles: PlayStation, Xbox, Nintendo SwitchWebGL: Fully functional on WebGL buildsVR/AR: Supports Unity XR (Virtual Reality/Augmented Reality) development-Graphics API CompatibilityDirectX 11/12: Supports DirectX for Windows builds.OpenGL / OpenGL ES: Compatible with macOS, Linux, and mobile platforms.Metal: Fully supported on macOS and iOS devices.Vulkan: Supported on compatible devices for high-performance rendering.AI Usage DisclosureDuring development, AI-assisted tools like ChatGPT and VSCode copilot were occasionally used to help debug, review, and refine portions of the codebase. These tools were used strictly as a development aid to improve code reliability, identify edge cases, and accelerate testing.All code has been carefully reviewed, validated, and finalized by the publisher to ensure:Clean architecture and maintainabilityStable runtime behaviorMultiplayer/network reliability (where applicable)Production-ready qualityNo AI-generated content is included without manual verification and integration. The final package reflects deliberate engineering decisions, testing, and optimization performed by the publisher.This approach helps deliver a more robust, polished, and reliable asset while maintaining full control over quality and functionality.




