       gs.background('rgba(100, 100, 100, 1.0)')
       
   class Tetris.Shape
+    @randomShape: (opts) ->
+      keys = Object.keys(Tetris.Shape.types)
+      pos = Math.floor(Math.random()*keys.length)
+      new Tetris.Shape.types[keys[pos]](opts)
     constructor: (opts={}) ->
       isNewObj = opts.id == undefined
       @id = opts.id || makeGuid()

      @owned = opts.owned || false
      Tetris.shapes[@id] = this
      @created() if isNewObj

    draw: (c) ->
      drawBlock = (blockDef) =>
        x = (@x*Tetris.gridSize) + (blockDef[0]*Tetris.gridSize)

      console.log('dropping', id)
      Tetris.shapes[id].drop()

  Tetris.init()
