Sure! Here's an example of a simple game where a ball jumps over walls to achieve the highest score. The game is implemented as a single HTML file, with JavaScript enclosed in script tags.
In this game, the ball jumps when the player touches/clicks on the game container. Walls are generated at random intervals, and the player needs to jump over them. Each time the ball successfully passes a wall without colliding, the score increases. The game ends if the ball collides with any wall, and the final score is shown in an alert dialog.
Note: This is a basic implementation to demonstrate the game mechanics. You can enhance it further by adding additional features like levels, power-ups, animations, sound effects, etc.