From 0529c77fb0c2b0dacb4d3dc51b0c0fc17511541e Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Tue, 19 May 2015 18:23:20 -0700 Subject: 1408 --- chessboard.mu | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'chessboard.mu') diff --git a/chessboard.mu b/chessboard.mu index 5faaead5..aac3e1cc 100644 --- a/chessboard.mu +++ b/chessboard.mu @@ -22,11 +22,10 @@ recipe main [ return-to-console # cleanup screen and keyboard ] -# But enough about mu. Here's what it looks like to run the chessboard -# program. +## But enough about mu. Here's what it looks like to run the chessboard program. scenario print-board-and-read-move [ - $close-trace # this test generates a 300+ MB trace! + $close-trace # administrivia: most scenarios save and check traces, but this one gets too large/slow # we'll make the screen really wide because the program currently prints out a long line assume-screen 120:literal/width, 20:literal/height # initialize keyboard to type in a move @@ -36,7 +35,6 @@ scenario print-board-and-read-move [ screen:address, keyboard:address <- chessboard screen:address, keyboard:address # icon for the cursor screen:address <- print-character screen:address, 9251:literal # '␣' -#? $dump-screen #? 1 ] screen-should-contain [ # 1 2 3 4 5 6 7 8 9 10 11 @@ -64,6 +62,8 @@ scenario print-board-and-read-move [ ] ] +## Here's how 'chessboard' is implemented. + recipe chessboard [ #? $start-tracing [schedule] #? 2 #? $start-tracing #? 1 -- cgit 1.4.1-2-gfad0