       setInterval () ->
         w = randWord(2)
         socket.emit 'new word', w
-        #console.log "#{name} wrote: #{w}"
+        console.log "#{name} wrote: #{w}"
       , 1000
     , Math.random()*2000
 


randWord = (len) ->
  Math.random().toString(36).substr(2, len)



startPlayer = (name) ->
  socket = io(url)

# vim: ts=2:sw=2:sta
io = require('socket.io-client')

url = process.env.TEST_TARGET || 'https://snap-backend-dev.herokuapp.com' #'http://localhost:8080'
