This is a fairly simple design. We were instructed to use Perlenspiel to create a game that could designated as a “toy.” That is, it doesn’t have any real end to it. The arrow keys will move the light blue block while the other four each have their own way of reacting to the movement. Moving to the same location as one of the other moving blocks will reset it to its original position.
To play, download the game.html and game.js file from the Dropbox link, then double-click the game.html file.