about summary refs log tree commit diff stats
path: root/chessboard.mu
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-10-05 18:13:20 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-10-05 18:16:12 -0700
commitd4cb1a51dbc25e0240c2ccb2da54e30db5acae28 (patch)
tree13cd20fb4954e50b0cd2e3f434c1437370d56ce0 /chessboard.mu
parent29057ed9e5c81aaa5b461d344ebdd7e713727965 (diff)
downloadmu-d4cb1a51dbc25e0240c2ccb2da54e30db5acae28.tar.gz
2244
Diffstat (limited to 'chessboard.mu')
-rw-r--r--chessboard.mu6
1 files changed, 3 insertions, 3 deletions
diff --git a/chessboard.mu b/chessboard.mu
index a0bdb435..57c70a45 100644
--- a/chessboard.mu
+++ b/chessboard.mu
@@ -111,7 +111,7 @@ recipe chessboard [
 
 recipe new-board [
   local-scope
-  initial-position:address:array:number <- next-ingredient
+  initial-position:address:array:character <- next-ingredient
   # assert(length(initial-position) == 64)
   len:number <- length *initial-position
   correct-length?:boolean <- equal len, 64
@@ -132,7 +132,7 @@ recipe new-board [
 
 recipe new-file [
   local-scope
-  position:address:array:number <- next-ingredient
+  position:address:array:character <- next-ingredient
   index:number <- next-ingredient
   index <- multiply index, 8
   result:address:array:character <- new character:type, 8
@@ -200,7 +200,7 @@ recipe initial-position [
   #   B P _ _ _ _ p B
   #   N P _ _ _ _ p n
   #   R P _ _ _ _ p r
-  initial-position:address:array:number <- new-array 82/R, 80/P, 32/blank, 32/blank, 32/blank, 32/blank, 112/p, 114/r, 78/N, 80/P, 32/blank, 32/blank, 32/blank, 32/blank, 112/p, 110/n, 66/B, 80/P, 32/blank, 32/blank, 32/blank, 32/blank, 112/p, 98/b, 81/Q, 80/P, 32/blank, 32/blank, 32/blank, 32/blank, 112/p, 113/q, 75/K, 80/P, 32/blank, 32/blank, 32/blank, 32/blank, 112/p, 107/k, 66/B, 80/P, 32/blank, 32/blank, 32/blank, 32/blank, 112/p, 98/b, 78/N, 80/P, 32/blank, 32/blank, 32/blank, 32/blank, 112/p, 110/n, 82/R, 80/P, 32/blank, 32/blank, 32/blank, 32/blank, 112/p, 114/r
+  initial-position:address:array:character <- new-array 82/R, 80/P, 32/blank, 32/blank, 32/blank, 32/blank, 112/p, 114/r, 78/N, 80/P, 32/blank, 32/blank, 32/blank, 32/blank, 112/p, 110/n, 66/B, 80/P, 32/blank, 32/blank, 32/blank, 32/blank, 112/p, 98/b, 81/Q, 80/P, 32/blank, 32/blank, 32/blank, 32/blank, 112/p, 113/q, 75/K, 80/P, 32/blank, 32/blank, 32/blank, 32/blank, 112/p, 107/k, 66/B, 80/P, 32/blank, 32/blank, 32/blank, 32/blank, 112/p, 98/b, 78/N, 80/P, 32/blank, 32/blank, 32/blank, 32/blank, 112/p, 110/n, 82/R, 80/P, 32/blank, 32/blank, 32/blank, 32/blank, 112/p, 114/r
 #?       82/R, 80/P, 32/blank, 32/blank, 32/blank, 32/blank, 112/p, 114/r,
 #?       78/N, 80/P, 32/blank, 32/blank, 32/blank, 32/blank, 112/p, 110/n,
 #?       66/B, 80/P, 32/blank, 32/blank, 32/blank, 32/blank, 112/p, 98/b,