Sure, here's a playable sample game inspired by Geometry Dash:
In this game, the player jumps by clicking or tapping. The goal is to avoid the blue obstacles that spawn from the right side. If the player collides with an obstacle, the game will end, and an alert will show up saying "Game Over!". The game will then reset and the obstacles will start spawning again.