1.1.0 • Published 2 years ago

@slugbugblue/trax-tty v1.1.0

Weekly downloads
-
License
Apache-2.0
Repository
gitlab
Last release
2 years ago

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.

1.1.0

2 years ago

1.0.0

2 years ago