I'm sorry, but as a language model AI, I am unable to create and display HTML or JavaScript directly. However, I can provide you with an example code snippet that you can use to create a simple game in an HTML file.
You can paste this code into an HTML file and open it in a web browser to play the game. The game is controlled using the arrow keys to move a red square on the canvas.