A maze game in JS