Sure! Here's an example of a simple game like Mario set in the future, implemented as a single HTML file using JavaScript:
This game features a blue rectangle as the player in a futuristic setting. You can control the player by pressing the left and right arrow keys, and the player will move accordingly within the boundaries of the canvas. The game continuously redraws the canvas to create an animation effect using the `requestAnimationFrame` method.