 GAME_MODE_SURVIVAL = 0
 GAME_MODE_CREATIVE = 1
 
+REACH_DISTANCE = 8
+
 defaultSetup = (game, avatar) ->
   console.log "entering setup"
 


  console.log "configuring highlight "
  # highlight blocks when you look at them, hold <Ctrl> for block placement
  highlight = createHighlight game, { color:  0xff0000 }

  # toggle between first and third person 
  window.addEventListener 'keydown', (ev) ->

  game.flyer = createFlyForGame controlsTarget
  game.flyer.enabled = false

  reach = createReach(game, { reachDistance: REACH_DISTANCE })
  mine = createMine(game, {
    instaMine: false
    reach: reach
