Skip to content

kuro-jojo/chess

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chess Game in JavaScript

This is a web-based multiplayer chess game implemented in JavaScript using Node.js and the following modules:

  • express
  • socket.io
  • connect

Installation

  1. Clone the repository.
  2. Install the required dependencies by running npm install.

Usage

  1. Start the server by running npm start.
  2. Open your web browser and navigate to http://localhost:3000.
  3. Enter your opponent ID in the reserved place. Then you will have a random piece color to start the game with.
  4. Enjoy the game.

Features

In this we implement the following features :

  1. Basics:
    1. Piece movement
    2. Capture
  2. King Castling (long and short)
  3. Check and Checkmate
  4. Sound effect (to make things much better)

To play with another player on another machine, change the socket address from localhost to the server address in the board.js file.

Authors

To contribute

If you found any bugs or you have some advices you have the issues section

Acknowledgments

  • Thanks to Chess.com for inspiring the design

About

A chess game written in Javascript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published