romanmatiasko / reti-chess

A lightweight, real-time chess app built in Node, Express, Socket.IO, React, Flux and Immutable.

Home Page:http://www.retichess.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Reti Chess

A lightweight, real-time chess app built in Node, Express, Socket.IO, React, Flux and Immutable. Reti Chess also uses chess.js for move validation and check/mate/draw detection.

You can play the game on www.retichess.com.

Warning

The app is no longer being developed. It works with node v4, but many things are outdated (it uses react 0.13.1 and mixins, no hot reloading, etc.)

If you want to run it locally (with node v4.2):

  • Clone the repo

  • Install dependencies

npm install
# create empty logfile for winston logger
mkdir logs
touch logs/games.log
  • Run the server
npm start
  • Preferred way is to run the server with nodemon
npm install -g nodemon # if you don't have nodemon installed yet
export NODE_ENV=development
nodemon bin/www
  • If you want to recompile static assets when you save a file
npm run build
  • Running tests
npm test
  • App will run on localhost:3000

License

Available under the MIT License (MIT).

About

A lightweight, real-time chess app built in Node, Express, Socket.IO, React, Flux and Immutable.

http://www.retichess.com

License:MIT License


Languages

Language:JavaScript 77.7%Language:CSS 18.8%Language:HTML 3.5%