shall we play a game? http://chess.davidwindham.com

windhamdavid 530c5d1dd2 8888 8 years ago
bin c06022a0cc 8888 8 years ago
routes ca76a8e37c Update all dependencies apart from React, so app can be run on Node v4 8 years ago
spec ca76a8e37c Update all dependencies apart from React, so app can be run on Node v4 8 years ago
src 530c5d1dd2 8888 8 years ago
views 530c5d1dd2 8888 8 years ago
.gitignore ca76a8e37c Update all dependencies apart from React, so app can be run on Node v4 8 years ago
.jshintrc 9d7c81ac0f update gulpfile; play sounds; add .jshintrc and chess pieces unicode map 9 years ago
LICENSE.md abe7faa9be add license file; update dependencies; production build 9 years ago
README.md 530c5d1dd2 8888 8 years ago
app.js ca76a8e37c Update all dependencies apart from React, so app can be run on Node v4 8 years ago
gulpfile.js ca76a8e37c Update all dependencies apart from React, so app can be run on Node v4 8 years ago
io.js f8735db00c fix delete game with only one player on disconnect; update dependencies 9 years ago
package.json b2065a3354 add winston 8 years ago
winston.js ca76a8e37c Update all dependencies apart from React, so app can be run on Node v4 8 years ago

README.md

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 sh 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 sh npm run build
  • Running tests

    npm test
    
    • App will run on localhost:8888

    License

    Available under the MIT License (MIT).