Implement some helpers and refactor dir switch

Also add less-dumb-bot
Merge branch 'master' of github.com:Cisco-Meraki-CFG/LightBikes
small fix
Merge branch 'master' of github.com:Cisco-Meraki-CFG/LightBikes

Conflicts:
	public/js/game.js