@slugbugblue/trax-tty

1.1.0 • Public • Published

trax-tty

This javascript module provides a simple to use interface for displaying a Trax game on a tty console (ie, from nodejs).

Usage:

import { Trax } from '@slugbugblue/trax'
import * as tty from '@slugbugblue/trax-tty'

const game = new Trax('trax', '@0/ A0+')
const players = ['first player', 'player 2']
tty.display(game, players)

See the source for more details.

Readme

Keywords

Package Sidebar

Install

npm i @slugbugblue/trax-tty

Weekly Downloads

1

Version

1.1.0

License

Apache-2.0

Unpacked Size

26 kB

Total Files

6

Last publish

Collaborators

  • ctrans