Sure! Here's an example of a simple game that meets your requirements. It is implemented in a single HTML file and uses JavaScript enclosed in script tags. The game is designed for smartphone operation and uses pictograms.
Score: 0
To play the game:
- Open the HTML file in a web browser.
- Use the left and right arrow keys to move the player.
- Press the spacebar key to kick the ball.
- Attempt to kick the ball into the goal.
- Each time you score a goal, a new goal will appear in a different position, and your score will increase. The game continues infinitely.