UNPKG

nes-tetris-representation

Version:

A set of types and classes that represent the pieces, movement, and rng of NES Tetris

5 lines (4 loc) 405 B
import { movePiece, getPiece, getPieceGrid } from './move-piece'; import { Piece, BlockValue, Orientation, BlockPlace, Row, Grid, PieceList, ActivePiece, RowIndex, ColumnIndex } from './piece-types'; import filledGrid from './filled-grid'; export { movePiece, getPiece, getPieceGrid, Piece, PieceList, Orientation, RowIndex, ColumnIndex, ActivePiece, BlockValue, BlockPlace, Row, Grid, filledGrid, };