/JSChess

Javascript Online 2Player Chess - with Node backend

Primary LanguageJavaScript

General Info

This is a two player chess game that was build a project that was build for a university course.

Technologies

This was implemented in "pure" html, css and javascript. We used an express back end server that handles the communication, between the clients.

How to run the application

1. Run the server.js -> which starts the express backend service 2. Run the index.html inside /public -> which starts a client.

Note: Two different client instances have to be started.

The first client can ether choose to start a new game, or join an existing game that was saved in his local web-storage. With the connection string sent to the second player a game can be played.

Features

  • Rejoining a quit game.
  • Background and click sound-effects.
  • Highlighting possible moves in the Ui

Known issues

  • When the game stops running both players should be notified
  • Board does not show files and Rank numbering
  • No coordinate to fileRank/numbering translation.
  • Code quality in general (a lot of refactoring has to be done)
  • using a server as the backend is not really the best way / using a peerToPeer connection would make more sense. (but a server-backend was a requirement)

Licensing

No License. Use at your own risk.