installation & usage

A guide on how to install tmscli from pypi to how to customise number of mines and the size of the board.

Install from PyPI

pip install tmscli

Basic usage

tms

Launches the basic 9x9 board with 10 mines

Size

tms -s SIZE

customises the boards size

Number of mines

tms -m NUM

customises number of mines

Rules

tms -r

prints the rules

In-game commands

uc x y

uncovers square (x,y)

fl x y

flags square (x,y)

uf x y

unflags square (x,y)

Note:

 y------->
x
|
|
|
|
V

use

tms -r
for a full guide