This repository contains the source code for an online chess platform developed as an experiment. The platform offers an interactive chess-playing experience directly in the browser.
- Responsive Design: The chessboard dynamically adjusts its size based on the browser window’s dimensions, ensuring an optimal viewing experience across devices.
- FEN Support: Users can input Forsyth–Edwards Notation (FEN) strings to load specific board positions. The platform validates FEN inputs and updates the board accordingly.
- Dark Mode Compatibility: The interface adapts to the user’s system settings, supporting both light and dark modes for comfortable viewing.
- Piece Interaction: Players can move pieces using drag-and-drop functionality or by clicking, providing a flexible user experience.
- Board Orientation: Includes an option to flip the board, allowing players to view the game from either player’s perspective.
To run this project locally:
-
Clone the repository:
git clone https://github.com/PerfunctoryOrator/chess.git cd chess
-
Open the application:
Open
index.html
in your preferred web browser to start using the chess platform.
- Design and Development: The platform was designed and developed by Yashdeep Singh Fauzdar.
- Chess Pieces and Board Colours: Assets are sourced from Lichess.
- Icons: Button glyphs and icons are provided by Google’s Material Icons.
This project is licensed under the MIT licence. See the LICENSE file for more details.
The icons used in this project are from Google’s Material Icons and are licensed under the Apache licence 2.0. See LICENSE_Material_Icons for details. The original SVGs were slightly modified (removing fill
attributes) for integration purposes.
For a live demonstration, visit: https://perfunctoryorator.github.io/chess/
Note: This project is a personal endeavour and is not officially affiliated with any chess organisations.