Sure! Here's an example of a simple game that meets your requirements:
This game demonstrates little bids (represented by rectangles) moving around on a canvas. The objective is to avoid getting jumpscared by a bird (represented by a bigger rectangle). You can use the arrow keys to move the player rectangle and try to avoid the collision with the bird.
If the player collides with the bird, a jumpscare message will be displayed, indicating that the game is over.