Sure, here's an example of a simple game where you control a blue cube and try to reach the opposite side of the grid while avoiding a red cube:
In this game, you can control the blue cube using the up and down arrow keys. Your objective is to reach the 5th row while avoiding the red cube. If either cube reaches their respective sides, a dialogue box will show whether you win or lose. You can reset the game by simply refreshing the page.