Sure, here's an example of a simple game that meets your requirements. It's an interactive text-based game implemented in a single HTML file using JavaScript. Please note that it is a basic implementation and can be expanded upon for a more complete game experience.
To play the game, save the code as an HTML file and open it in a web browser. When the page loads, press any key to start the game. Type "run" to attempt escaping from Ronald McDonald. If you find a key, you win the game, otherwise, you get caught by Ronald McDonald and lose.