Sure! Here's a playable sample game for a space-themed planet creation game using JavaScript:
This game allows you to create planets by clicking on the canvas. Each new planet will be displayed as a circle with a random color. The game will continuously update the screen to show the newly created planets. Simply copy the above code into a single HTML file and open it in a web browser to play the game.