Sure! Here's an example of a simple soccer game implemented as a single HTML file using JavaScript and enclosed in script tags:
This game allows you to control a blue player using the arrow keys. The goal is to hit the white ball back and forth within the green field. The ball will bounce off the edges of the field. You can play the game by opening the HTML file on your smartphone or any web browser. Enjoy!