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 git@github.com:jmeyers91/text-minesweeper.git
Install dependencies
cd text-minesweeper
npm install
Build
npm run build
Start
npm run start