Snazam is a snake-like game written in pure JavaScript. Snazam includes a generateMaze function which creates a random maze each time a level is loaded. Then the maze is populated with food. Once again, randomly. Your goal is to eat as much food as possible before dying. Try to avoid hitting a wall or your own tail. Play.