Skip to content

MelqonyanG/real-time-chess

Repository files navigation

real-time-chess

real-time-chess is a chess app, that allow:

  • select username for game
  • create new game chellange
  • refresh and see new added chellanges
  • select your wanted chellange and start game

Tech

real-time-chess uses a number of open source projects to work properly: client side

  • React js
  • Bootstrap
  • socket.io-client
  • chessboardjs
  • chess.js

server side

  • Python3
  • Flask
  • eventlet
  • pymongo

Installation

real-time-chess client side requires Node.js v4+ and npm. Server side requires MongoDB database.

Install the dependencies and start the server.

  1. First of all you need start mongodb server
$ sudo service mongodb start
  1. Then you need to start real-time-chess server
$ cd real-time-chess/
$ pip install -r requirements.txt
$ python server.py

Install the dependencies and start the client.

$ cd real-time-chess/client
$ npm install
$ npm start

Verify the deployment by navigating to your server address in your preferred browser.

127.0.0.1:3000

or

localhost:3000

screenshots screenshot screenshot

##ToDo

  • add resign action
  • add draw action

Releases

No releases published

Packages

No packages published

Languages