Sure! Here is an example of a simple soccer game implemented in a single HTML file with JavaScript:
You can copy this code into an HTML file and open it in a web browser to play the soccer game. The player's goal is to score 10 points by kicking the ball into the opponent's goal while preventing the AI from scoring. The game ends when one side reaches 10 points. Good luck and have fun!
⚽️