An open API service indexing awesome lists of open source software.

https://github.com/joyontokarmakar/chess

https://custom-chess-v5.netlify.app/ https://custom-chess-v4-3.netlify.app/ https://custom-chess-v4-2.netlify.app/ https://custom-chess-v4-1.netlify.app/ https://custom-chess-v4.netlify.app/ https://custom-chess-v3.netlify.app/ https://custom-chess-v2.netlify.app/ https://custom-chess-v1.netlify.app/
https://github.com/joyontokarmakar/chess

brainstorming chess-game game multiplayer-game nextjs online-chess puzzle

Last synced: about 2 months ago
JSON representation

https://custom-chess-v5.netlify.app/ https://custom-chess-v4-3.netlify.app/ https://custom-chess-v4-2.netlify.app/ https://custom-chess-v4-1.netlify.app/ https://custom-chess-v4.netlify.app/ https://custom-chess-v3.netlify.app/ https://custom-chess-v2.netlify.app/ https://custom-chess-v1.netlify.app/

Awesome Lists containing this project

README

          

# โ™Ÿ๏ธ Custom Chess Game

A modern, feature-rich, and fully customizable **chess game** built with React, TypeScript, and Tailwind CSS. Play chess **locally with a friend**, **against a smart AI**, or enjoy a **tactics training mode** โ€” all from your browser. Designed for both beginners and experienced players, this game blends classic chess rules with a sleek, intuitive interface.

## ๐Ÿš€ Live Demo

๐Ÿ‘‰ [Play the Game](#)
(*Replace this with your actual deployed link*)

---

## ๐Ÿง  Game Modes

- **Player vs AI** โ€“ Choose difficulty: *Easy*, *Medium*, *Hard*, or *Grandmaster*
- **Player vs Player** โ€“ Play with a friend locally on the same device
- **Puzzle Mode / Tactics Trainer** โ€“ Solve chess puzzles to sharpen your skills
- **Simulated Online Mode** โ€“ Share a unique Game ID to play on the same device (not internet multiplayer)

---

## ๐Ÿ•น๏ธ Core Gameplay Features

- โ™Ÿ๏ธ **Standard Rules**: Pawn Promotion, Castling, En Passant, Check, Checkmate, and Stalemate detection
- โœ… **Legal Move Validation**
- ๐Ÿง  **AI Engine**:
- Gemini-powered AI (API key required)
- Basic offline fallback AI
- โณ **Timer Mode**
- ๐Ÿ” **Undo Moves** (optional)
- ๐Ÿ’ก **AI Move Hints** (optional)
- ๐ŸŽ‰ **Confetti celebration** on checkmate
- ๐Ÿ”Š **Game Sounds**: Move, capture, win
- ๐Ÿ‘‘ **Captured Pieces Display**
- ๐Ÿ”” **Smart Toast Notifications**: โ€œCheckโ€, โ€œYour Turnโ€, โ€œCheckmateโ€, etc.
- ๐Ÿงญ **In-Game Chess Guide** for beginners and rule refreshers

---

## ๐ŸŽจ Personalization & Themes

- ๐ŸŒ“ **Light / Dark Modes**
- ๐ŸŽจ **Custom Board Styles**: Classic Wood, Cool Blue, Forest Green, etc.
- โ™” **Multiple Piece Sets**: Default, Staunton, Merida
- ๐Ÿ–Š๏ธ Rename players mid-game
- ๐Ÿงฐ UI Toggle Options:
- Show/Hide Resign, Undo, Hint buttons
- Enable/Disable toast messages

---

## ๐Ÿ’ป Progressive Web App (PWA)

- ๐Ÿ“ฒ **Installable App**: Add the chess game to your home screen or desktop for faster access
- ๐ŸŒ **Offline Play Support**: Fully functional without an internet connection (non-AI modes)
- ๐Ÿ–ฅ๏ธ **Desktop Sidebar Layout**: Quick access to game modes, settings, and navigation

---

## ๐Ÿงฉ Learn & Improve

- ๐Ÿ“– **Chess Guide**: Piece movement, rules, and strategies built right into the app
- ๐Ÿ‘€ Visual indicators for:
- Last move made
- Pieces under check
- Available legal moves
- ๐Ÿ“Š **Game History & Analysis**: View and analyze your last 10 games move-by-move

---

## ๐Ÿ’พ Game Management

- ๐Ÿ’พ **Save/Load Games** using `localStorage`
- ๐Ÿ† **Hall of Fame**:
- Tracks winners and match info for AI and local games
- Clear history anytime
- ๐Ÿ” **Start New Game / Reset Options**
- ๐Ÿ“‹ **Game Menu** with modals and navigational UI
- ๐Ÿ“„ **Informational Pages**:
- About the Developer
- Terms & Conditions
- Privacy Policy

---

## ๐Ÿ”„ Drag & Drop Movement

You can now move pieces by **clicking or dragging** โ€” your choice! Intuitive controls make it easy for all ages.

---

## ๐Ÿ†• Version Highlights

### ๐Ÿ†• Version 5.0 โ€“ *PWA & UI/UX Enhancements* (2024-08-10)
- โœ… **Progressive Web App (PWA)**: Install on mobile/desktop for native-like usage
- โœ… **Offline Mode** for non-AI games
- โœ… **Desktop Sidebar Layout** for better navigation
- โœ… **Multiple Piece Sets**: Choose between Default, Staunton, and Merida
- โœ… **Drag-and-Drop Support** for moving pieces
- ๐Ÿ”„ Smoother transitions, improved responsiveness
- ๐Ÿž Fixed AI setup and critical UI state error

### Version 4.3 โ€“ *Architectural Fixes & UI Enhancements*
- ๐Ÿ”ง Fixed major logic bug in launching game modes
- ๐Ÿ“Š Added Multi-Game History + detailed move analysis
- ๐Ÿ“„ Added โ€œAbout,โ€ โ€œTerms,โ€ and โ€œPrivacy Policyโ€ pages
- ๐Ÿ–ผ๏ธ Visual polish: Gradient buttons, icon improvements
- ๐ŸŽฎ Improved Game Over experience with rematch and return options
- ๐Ÿž Puzzle mode bug fixed

### Version 4.2 โ€“ *Modern UX Upgrade*
- Welcome screen for new players
- Resign, Undo, Hint buttons improved and repositioned
- Mobile responsiveness upgraded

---

## ๐Ÿ“ฑ Responsive Design

- Seamless experience across **desktops**, **tablets**, and **mobile phones**
- Adaptive menus, layouts, and modals for every screen size

---

## ๐Ÿ“‚ Project Structure

```bash
๐Ÿ“ /public
๐Ÿ“ /src
โ”œโ”€โ”€ assets/ # Icons, graphics
โ”œโ”€โ”€ components/ # Reusable React components
โ”œโ”€โ”€ data/ # Chess puzzles, guide content
โ”œโ”€โ”€ utils/ # Game logic, helpers
โ””โ”€โ”€ App.tsx # Main app entry point