Sure, here's an example of a simple game where you need to run from monsters:
To play the game, you need to open the HTML file in a web browser or run it on a web server. The player starts as a blue ball and can move using the arrow keys. Monsters roam and follow the player. The goal is to reach the yellow star without getting caught by a monster. If you collide with a monster, the game is over and if you reach the star, you win.