New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

joj-core

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

joj-core

JumpOverJump.com core library

latest
Source
npmnpm
Version
2.0.6
Version published
Maintainers
1
Created
Source

joj-core

Build Status NPM codecov.io Dependency Status bitHound Score MIT license

Translations

pt-br en-us

JumpOverJump.com core library

JumpOverJump is an open source, complete functional programming, AI game board.

Be welcome to learn, help and play!!!

Docs

Full 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

Keywords

joj

FAQs

Package last updated on 28 May 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts