Sure, here's an example of a game created using HTML and JavaScript, based on your requirements:
This game is called "Grave Stone Escape." The objective is to control the blue player character (controlled by arrow keys) and avoid colliding with the gray grave stone. If a collision occurs, it triggers the `endGame()` function, which displays "Game Over" on the canvas.
Please note that this example is a basic implementation and can be further expanded with additional features and refined visuals based on your specific requirements.