No description
Find a file
2017-03-29 17:31:08 +02:00
examples initial commit 2017-03-29 17:30:37 +02:00
src initial commit 2017-03-29 17:30:37 +02:00
third-party initial commit 2017-03-29 17:30:37 +02:00
.gitignore initial commit 2017-03-29 17:31:08 +02:00
AGPL-3.0.txt initial commit 2017-03-29 17:30:37 +02:00
CONTRIBUTING.md initial commit 2017-03-29 17:30:37 +02:00
COPYING.md initial commit 2017-03-29 17:30:37 +02:00
gulpfile.js initial commit 2017-03-29 17:30:37 +02:00
package.json initial commit 2017-03-29 17:30:37 +02:00
README.md initial commit 2017-03-29 17:30:37 +02:00

Warning: This is work in progress

Jocly is a library and set of tools to integrate boards games into Web environments. It comes with a large collection of abstract strategy games, 2D and 3D user interface, artificial intelligence to play against.

Demos

Simple human vs computer:

Classic chess, Circular chess, Multi layers chess, Hexagonal chess, Chinese chess, Middle-age chess, Scrum

Or see and try all available games

Building

  • install the node.js environment (using nvm is probably a good idea)
  • install gulp: nvm install -g gulp
  • install git
  • clone Jocly from github: git clone https://github.com/mi-g/jocly.git
  • enter the jocly directory
  • build: gulp build
  • dist/browser contains the javascript library to build web applications, dist/node is the module to be used for node.js applications

Using Jocly in a Web page

After building Jocly, copy the dist/browser directory as jocly into your project filesystem.

Insert this line to your HTML source code:

<script src="jocly/jocly.js"></script>

You are now ready to use the Jocly API through the Jocly global object.

API Documentation

This section is to be written. For now, check the examples into the examples/browser and examples/node sub-directories.