2.0.6 • Published 7 years ago
joj-core v2.0.6
joj-core
Translations
JumpOverJump.com core library
JumpOverJump is an open source, complete functional programming, AI game board.
Be welcome to learn, help and play!!!
Docs
Use
Install
npm install --save joj-core
New Game
import { Game, Move } from 'joj-core';
const players = {
white: { name: "Angelo" },
black: { name: "Gabi" }
};
const game = Game.createGame({ players });
const gameAfterMove = Move.getGameAfterMove(game, { x: 5, y: 7 }, { x: 5, y: 6 });
const gameAfterMove2 = Move.getGameAfterMove(gameAfterMove, { x: 2, y: 0 }, { x: 2, y: 1 });
Contribute
NPM Global packages
npm install -g ts-node babel-cli
Setup
npm install
Test
npm test
2.0.6
7 years ago
2.0.5
7 years ago
2.0.4
7 years ago
2.0.3
7 years ago
2.0.2
7 years ago
2.0.1
7 years ago
2.0.0
7 years ago
1.7.2
7 years ago
1.7.1
7 years ago
1.7.0
7 years ago
1.6.1
7 years ago
1.6.0
7 years ago
1.5.2
7 years ago
1.5.1
7 years ago
1.5.0
7 years ago
1.4.3
7 years ago
1.4.2
7 years ago
1.4.1
7 years ago
1.3.0
7 years ago
1.2.0
7 years ago
1.1.0
7 years ago