   delete game.shapes[shapeID]
   pipe.channel(theGameID).trigger('purge', {id:shapeID})
 
+  if game.grid.numberOfPlayers() == 0
+    if gameIDs.length > 4
+      delete games[theGameID]
+      gameIDs.splice(gameIDs.indexOf(theGameID), 1);
+
 pipe.on 'connected', ->
   setInterval (->
     for gameID in gameIDs


  numberOfPlayers: ->
    Object.keys(@players).length
    
  twitterUsers: ->
    users = []
    users.push(username) for socket, username of @players

    line = []
    for x in [0..@width]
      line[x] = @grid[number][x]
    line

  rowOfZeros: ->
    line = []
    for x in [0..@width]
