]> gitweb.factorcode.org Git - factor.git/blobdiff - extra/tetris/game/game.factor
Fixing various test failures and updating some more vocabs for >r/r> removal
[factor.git] / extra / tetris / game / game.factor
index 30622c9e383e852d8f674dadc0bdb7c111e262c0..ef5ffcc3447c48822931394ac41006132d363b52 100644 (file)
@@ -88,7 +88,7 @@ TUPLE: tetris
 : tetris-move ( tetris move -- ? )
     #! moves the piece if possible, returns whether the piece was moved
     2dup can-move? [
-        >r current-piece r> move-piece drop t
+        [ current-piece ] dip move-piece drop t
     ] [
         2drop f
     ] if ;