Sure! Here's a simple game implemented in a single HTML file with JavaScript enclosed in script tags.
This game involves moving a blue square around the canvas using the arrow keys on your keyboard. The square represents the player's character. You can customize this game further by adding more features, levels, or obstacles!