jakesgordon/javascript-tetris — reverse-engineered prompt
Reverse engineered prompt
Build me a simple HTML5 Tetris game that runs in the browser as a single page. I want it to feel like classic Tetris, with falling blocks, rotation, moving left and right, faster drop, completed lines disappearing, score tracking, and a clear game over state with an easy restart.
Keep it lightweight and easy to understand, using normal HTML, CSS, and JavaScript. The game should look clean, work well in Chrome, Firefox, Safari, and other modern browsers, and not require a server or sign in. Keyboard controls are fine, please show the controls on the page so a casual player knows what to do.
Use a canvas or simple browser graphics, whichever makes the most sense. Don’t overcomplicate it with accounts, online leaderboards, music, or big menus. I mainly want a polished playable Tetris clone that I can open in a browser and share with someone.
Want more depth? Deep Reverse