diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-05-11 00:51:28 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-05-11 00:51:28 -0700 |
commit | 1d025275153d571990f753a367f392ebfc94caf7 (patch) | |
tree | 4add20811dd423c50c181099734c0cd11ff51d2b | |
parent | d9fbe9c1ca8919f0dba5d5b606b1d5609d3ee73a (diff) | |
download | mu-1d025275153d571990f753a367f392ebfc94caf7.tar.gz |
1340
-rw-r--r-- | chessboard.mu | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/chessboard.mu b/chessboard.mu index 16b03773..adae42b9 100644 --- a/chessboard.mu +++ b/chessboard.mu @@ -1,7 +1,7 @@ # Chessboard program: you type in moves in algebraic notation, and it'll # display the position after each move. -# recipes are mu's names for functions, and recipes have ingredients +# recipes are mu's names for functions recipe main [ switch-to-display # take control of screen and keyboard @@ -14,6 +14,9 @@ recipe main [ # is good form to not modify ingredients of a recipe unless they are also # results. Here we clearly modify both keyboard and screen, so we return # both. + # + # Here the keyboard and screen are both 0, which usually indicates real + # hardware rather than a fake for testing as you'll see below. 0:literal/real-screen, 0:literal/real-keyboard <- chessboard 0:literal/real-screen, 0:literal/real-keyboard return-to-console # cleanup screen and keyboard |