Code Monkey home page Code Monkey logo

chesslogger's Introduction

chessLogger

Alpha Chess Analysis using Chess.js and ChessBoard.js

Background

Back in 2006, I had a TREO. The phone was cool at the time. It had a chess program that was great. The engine was okay, but it really shone when used to record a game between 2 people. When I upgraded to a legitimate smart phone, I couldn't find anything as useful even though I've now downloaded about 30 apps in search of this holy grail.

Features

  • Standard graphical board with click and drag movement (thanks oakmac!)
  • Disallow invalid moves (thanks jhlywa!)
  • Click on a move in the move list to reposition the board to that move
  • Create analysis lines by making a different move when the board is not at the end of the move list
  • Persist to a mongoDB database

To Be Implemented

  • Multiple Users with access to all games marked public or participated in
  • Real-time playing over a network
  • Analysis notation and commenting
  • Set up a position to play from
  • Import PGN files
  • Enable Save to Local DB and upload when connected

Notes

  • For persisting games to the database, currently a JSON-capable REST api is expected.
    //(ServerUrl)/(DBName)/(CollectionName)/(ID) for a HTTP GET command. I use the basic MongoRest Node.js project here, borrowed from tdegrunt over here

Installation

  • Clone the repo
  • cd to the repo directory
  • Run npm install and bower install
  • Edit chessLogger.js to add your default mongodb url, db name, and collection name in the default settings in controller (if you want game persistence)
  • Documentation is in /docs (and incomplete), but you can generate it using jsdoc -c jsdoc.json or grunt if you have jsdoc installed.
  • Enjoy

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.