hyperchess

0.1.1 • Public • Published

The core engine to a four dimensional chess game


Basic Usage

import Hyperchess, { Game } from 'hyperchess'
 
// new game instance
let game = new Game('Magnus Carlsen', 'Felix')
 
// get first player (white)
let whitePlayer = game.players[0]
 
// log the possible moves
whitePlayer.possibleMoves.forEach(m => {
  console.log(m.description)
})

Readme

Keywords

Package Sidebar

Install

npm i hyperchess

Weekly Downloads

2

Version

0.1.1

License

MIT

Unpacked Size

42.8 kB

Total Files

16

Last publish

Collaborators

  • felixpitau