nnfc

No-nonsense FreeCell game
git clone git://git.luxferre.top/nnfc.git
Log | Files | Refs

commit 1e856a5ed15320123228163a82674f7fcbd92385
parent c5705c3d694b4299a0730dc19d77862dcae128f2
Author: Luxferre <lux@ferre>
Date:   Tue, 16 Jan 2024 13:43:50 +0200

Implemented help scree

Diffstat:
Mnnfc.awk | 16++++++++++++++++
1 file changed, 16 insertions(+), 0 deletions(-)

diff --git a/nnfc.awk b/nnfc.awk @@ -192,6 +192,22 @@ function autohome(chres, lres, i) { } function help() { + print "nnfc: no-nonsense FreeCell in POSIX AWK" + print "Script parameters:" + print "-v ASCII=1\tuse ASCII instead of Unicode suit chars" + print "-v MONOCHROME=1\t don't use colors" + print "-v SEED=xxxxx\tset game seed number (M$-compatible)" + print "Commands: q - quit, u - undo, ah - autohome, h - this help" + print "Moves: [digit][digit], where \"digits\" are:" + print "- 0 is foundation (can be omitted)" + print "- 1 to 8 are column (tableau) numbers" + print "- a, b, c, d are freecell IDs" + print "Examples:" + print "7a\tmove from column 7 to freecell a" + print "63\tmove from column 6 to column 3" + print "4\tmove from column 4 to the foundation" + print "c\tmove from freecell c to the foundation" + print "ah\tautomatically move all eligible cards to the foundation" return 1 # continue }