 box.focus()
 
 setInterval ->
-  box.style.bg =
-    if box.style.bg is 'green' then 'magenta' else 'green'
+  #box.style.bg =
+    #if box.style.bg is 'green' then 'magenta' else 'green'
 
   screen.render()
-,100
+,500
 
 screen.render()
 

blessed = require 'blessed'
player  = require('play-sound')(opts = {})
_       = require 'lodash'

screen = blessed.screen({fastCSR: true})


screen.key ['h'], (ch, key) -> walkDatIcon('left', -1 * mapStepSize)
screen.key ['l'], (ch, key) -> walkDatIcon('left',  mapStepSize)

mapScale = 1

screen.key ['m'], (ch, key) ->
  icon.width = icon.height = "100%"
  icon.scale = mapScale
  icon.setImage(bigmap)

screen.key ['r'], (ch, key) ->
