1.1.0 • Published 8 years ago

ten-ten v1.1.0

Weekly downloads
2
License
CC-BY-SA-4.0
Repository
github
Last release
8 years ago

Ten Ten the Library

A library for playing the game Ten Ten. Just add water (and a UI).

Usage

To use this library, just import and instantiate a Game instance.

import { Game, Position } from 'ten-ten';

let game = new Game();
let currentPieces = game.playerHand.getPieces();

game.playField.toString();
game.placePiece(currentPieces[0], new Position(0, 0));

game.playField.toString();
1.1.0

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago