diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-01-02 15:35:29 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-01-02 15:35:29 -0800 |
commit | 308e1146770b621faa31c64349bd74295d8c6aaf (patch) | |
tree | 109f93958a469bb293100748ad7d3709ec5df12d | |
parent | 1a4ea1c8dc1bea0c017358edccd05ce60ae92d1d (diff) | |
download | mu-308e1146770b621faa31c64349bd74295d8c6aaf.tar.gz |
494 - yet another regression
-rw-r--r-- | chessboard-rawterm.mu | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/chessboard-rawterm.mu b/chessboard-rawterm.mu index e73906d6..5ccaf323 100644 --- a/chessboard-rawterm.mu +++ b/chessboard-rawterm.mu @@ -196,7 +196,7 @@ (cursor-to-next-line) (print-board b:board-address) (cursor-to-next-line) - (print-primitive (("Type in your move as <from square>-<to square>. For example: a2-a4. Lowercase only. Currently very unforgiving of typos." literal))) + (print-primitive (("Type in your move as <from square>-<to square>. For example: 'a2-a4'. Currently very unforgiving of typos; exactly five letters, no <Enter>, no uppercase." literal))) (cursor-to-next-line) (print-primitive (("Hit 'q' to exit." literal))) (cursor-to-next-line) @@ -208,3 +208,15 @@ } (console-off) ]) + +; tests todo: +; print board +; accept move +; print move +; board updates on move +; die on invalid move +; 'q' exits +; 'q' exits anywhere in move +; 'q' exits on second move -- FAIL +; +; backspace, ctrl-u |