Skip to content

Repository files navigation

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.

This fork was initiated following the discontinuation of Jocly, in order to revitalize contributions.

Demos

You will find many board games (spargo, four in a row, annexation …), and in particular variations of chess and shogi. Controlled interface for playing Chess. Click Other Jocly games to switch to other games.

Simple human vs computer: Classic chess, Circular chess, Multi layers chess, Hexagonal chess, Chinese chess, Middle-age chess, Shogi, Chu Shogi, Draughts, Kyoto Shogi, Metamachy, Spartan chess, Minjiku Shogi, Ultima, Rococo, Janggi, Crazyhouse

Or see and try all available games

Use joclymatch to play remotly againt a human from a desktop

Use mogichex to play remotly againt a human from a mobile device

Building

  • install the node.js environment (using nvm is probably a good idea)
  • install gulp: npm install -g gulp
  • install git
  • clone Jocly from github: git clone https://github.com/aclap-dev/jocly.git
  • enter the jocly directory
  • download required modules: npm install
  • 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

Notes:

  • using gulp build watch instead of gulp build makes gulp start watching files after the build. Whenever a file is changed, a build is automatically generated
  • you can use --no-default-games to prevent including the game modules from directory, and --modules <colon-separated-directories> to specify additional game modules to include. For instance, gulp --no-default-games --modules src/games/chessbase:src/games/checkers build will only generate distribution for Chess and checkers games
  • you can specify the games to be built in the distribution with the --games option. For instance, gulp --no-default-games --modules src/games/chessbase --games xiangqi:classic-chess build only generates Jocly for Classic Chess and XiangQi
  • using the no-obsolete option filters out the games marked as obsolete

Related projects:

-play Jocly (Human or AI) via a web server with a mobile-friendly interface : Mogichex -play Jocly (Human or AI) via a web server with a desktop-friendly interface: [Joclymatch](https ://github.com/fhoudebert/joclymatch) -play Jocly against an opponent or a computer via a native client (Linux, Windows) : Tabulon

Credits

Jocly, was created by M. Gutierrez / J. Choain, with contribution of HG Muller. The original project is no longer maintained; it lives on as jocly2.

The Expert level uses Fairy-Stockfish by Fabian Fichter, derived from Stockfish. The Champion level for draughts use Scan maintained by Fabien Letouzey

Game artwork under chessbase/res is CC BY-SA 3.0.

About

Html interface and engine to play board games : chess, checkers…

Topics

Resources

Contributing

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages