A web application that allows two players to play chess. Built with Node.js, Express, chessboard.js, and chess.js. Each move is saved to an SQLite database.
A production installation of this software is available from https://www.chessvia.email/.
- Interactive chessboard using
chessboard.js
. - Game logic handled by
chess.js
. - Moves saved to SQLite database.
- Backend powered by Express.
- Ensure you have Node.js and npm installed on your machine.
-
Clone the repository:
git clone <your-repo-url>
-
Navigate to the project directory:
cd path-to-your-project
-
Install the required packages:
npm install
-
Start the server:
node server.js
-
Open your browser and navigate to
http://localhost:3000
to start playing.
- Make moves on the chessboard.
- Each move will be automatically saved to the SQLite database with a game ID.
- Fork the project.
- Create your feature branch (
git checkout -b feature/YourFeature
). - Commit your changes (
git commit -m 'Add YourFeature'
). - Push to the branch (
git push origin feature/YourFeature
). - Open a pull request.
This project is licensed under the MIT License.