A modern, interactive chess game built with React and Rails. You can play the game at QuickMate
- Elegant and Modern Design
- Complete Single Page Application
- Interactive chessboard with drag-and-drop piece movement
- Legal move validation
- Game state management (turns, check, checkmate, etc.)
- Responsive design for desktop and mobile
- Allows 3 Game Modes
- Player vs Random Player on server
- Player vs Friend using room code
- Player vs Bot (Fairy Stockfish - Easy, Medium and Hard)
- Allows playing from both side black and white
- Player can offer and accept draw request between match
- Provides a playground chess board all the time
- Chess validation resides on server side
For Back-end features - Rails Chess Features
For Back-end technologies - Rails Chess Technologies
- Move history
- Undo and Redo when playing with bots
- Reset board while in playground
- Chat with opponent
You need to setup both front-end and back-end separately
- Clone the repository
- Install dependencies via
npm install
- Run server with
npm run dev
- Build with
npm run build
- Clone the repository
- Install dependencies via
bundle install
- Run server with
rails s
- For production you need to remove
config/credentials.yml.enc
first and then start the server
- EmAreAitch Email - dev.emareaitch@gmail.com
MIT License
Copyright (c) 2024 Mohammad Rahib Hasan
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.