Sure! Here's an example of a simple garden game implemented as a single HTML file with JavaScript:
In this game, you have a garden with four objects: swings, slides, bungee jumping, and a skating row. You can click on any of these objects, and it will trigger an alert saying "You clicked on an object!".
The objects are represented as simple rectangles on the canvas, with different colors for each one. You can customize the appearance and behavior of the objects as per your requirements.
Please note that this is a basic example, and you can add more functionality and interactivity based on your desired game mechanics.