After seeing how much fun players have with Level-Devil-style troll platformers, I challenged myself to build a tiny, zero-dependency HTML5 Canvas + Web Audio API troll game that runs at 60fps on both desktop and mobile browsers in a single HTML file:
👉 Play Now (Desktop & Mobile): Don't Trust The Floor
👉 GitHub Pages Mirror & Source: github.com/chmy1985012/dont-trust-the-floor
What Makes It Cheeky
Level 1 : Looks like an easy walk—until the floor drops out 1 step before the flag AND the goal flag grows legs and runs away.
Level 2 : Peek-a-boo spikes that only pop up once you commit to the jump.
Level 3 : Halfway across the bridge, Left & Right controls secretly invert while the narrator mocks you.
Level 4 : A falling ceiling + a solid wall blocking the door—forcing you to walk backwards off the left edge of the screen to wrap around.
Level 5 : Even the green "YOU WIN!" button dodges your cursor 3 times.
Technical Highlights (Zero Libraries)
Pure Canvas 2D physics loop with 6-frame coyote time,…