]> gitweb.factorcode.org Git - factor.git/blobdiff - extra/tetris/tetromino/tetromino.factor
Harmonize spelling
[factor.git] / extra / tetris / tetromino / tetromino.factor
index 8eaf1c04266a76611828a834174036fe4f979a6a..8ef06eb173cd74d91091c64c3fbcfe20f591e86c 100644 (file)
@@ -1,10 +1,11 @@
 ! Copyright (C) 2006, 2007, 2008 Alex Chapman
 ! See http://factorcode.org/license.txt for BSD license.
-USING: kernel arrays namespaces sequences math math.order
-math.vectors colors colors.constants random ;
+
+USING: colors math namespaces random sequences ;
+
 IN: tetris.tetromino
 
-TUPLE: tetromino states colour ;
+TUPLE: tetromino states color ;
 
 C: <tetromino> tetromino
 
@@ -14,7 +15,7 @@ SYMBOL: tetrominoes
   [
     { {
         { 0 0 } { 1 0 } { 2 0 } { 3 0 }
-      } 
+      }
       { { 0 0 }
         { 0 1 }
         { 0 2 }
@@ -60,7 +61,7 @@ SYMBOL: tetrominoes
       }
     } COLOR: orange
   ] [
-    { 
+    {
       { { 0 0 } { 1 0 } { 2 0 }
                         { 2 1 }
       } {
@@ -111,4 +112,3 @@ SYMBOL: tetrominoes
 
 : blocks-height ( blocks -- height )
     [ second ] blocks-max ;
-