         x = @blockPosition(i, rotation).x + xOffset
         y = @blockPosition(i, rotation).y + yOffset
         return false if Tetris.blocks.contains(x, y)
+        return false if x < 0
+        return false if x >= Tetris.levelSize
+        return false if y >= Tetris.viewport.y
       return true
     
     draw: (c) ->

      @viewportOffset.x + (@viewport.x/2) - 2
    levelSize: 16 # blocks
    viewportOffset: # blocks
      x: 13
      y: 0
    shapes: {}
    playerID: makeGuid()

       {x: x, y: y}
    
    canMoveDown: ->
      return @canMoveTo(0, +1)
      
    canMoveTo: (xOffset, yOffset, rotation=null) ->
