Sure! Here's an example of a simple path game similar to Temple Run that you can play as a finished game:
Please copy this code and save it as an HTML file in order to play the game. This game uses the spacebar for jumping, left arrow for left movement, and right arrow for right movement. The score increases as you dodge obstacles, and the game ends if you collide with an obstacle.