Sure! Here's an example of a game where the player needs to balance a ball on yellow squares using JavaScript:
In this game, you'll see a canvas with a ball and three yellow squares. The objective is to use the arrow keys or touch screen controls to move the ball and balance it on the yellow squares. As the ball collides with a yellow square, it will disappear. If the ball falls off the yellow squares, it will bounce off the canvas edges and continue moving. The game will keep running until the ball collides with all the yellow squares or the user closes the browser tab.