Sure! Here's a simple example of a hockey game implemented as a single HTML file using JavaScript:
To play the game, simply open the HTML file in a web browser, and you'll see a canvas with a red ball and a blue paddle. Use the arrow keys or the "Left" and "Right" keys on your keyboard to move the paddle. The objective is to bounce the ball off the paddle and prevent it from touching the bottom of the canvas. If the ball hits the bottom, a message saying "Game Over" will appear, and the game will restart.