1.0.0 • Published 7 years ago

gomoku-js v1.0.0

Weekly downloads
2
License
AGPL-3.0
Repository
github
Last release
7 years ago

Gomoku.js

Algorithm of Nth order Gomoku in OOP

NPM Dependency

NPM

Examples of usage

Classic Five in a row game:

const Gomoku = require('gomoku-js');

var game = new Gomoku( 5 );

game.setChessOf(0, 0, 0);

game.setChessOf(1, 0, 1);

//  ...
//
//  It will return the index of winner

game.setChessOf(0, 0, 4);

Similar works

https://github.com/search?l=JavaScript&o=desc&q=Gomoku&s=stars&type=Repositories&utf8=%E2%9C%93