textsweeper
v1.0.4
Published
Terminal minesweeper written in Typescript.
Downloads
2
Readme
Textsweeper
Terminal minesweeper written in Typescript.
Install
npm install --global textsweeper
Play
textsweeper
Pass width, height, and mine count as arguments.
textsweeper 10 20 30
Use the arrow keys or WASD to move, space to reveal cells, enter to restart, and Q or ctrl-c to quit.
Develop
Clone the repo.
git clone [email protected]:jmeyers91/text-minesweeper.git
Install dependencies
cd text-minesweeper
npm install
Build
npm run build
Start
npm run start