Neon Space Survival Game
coding7/7 modelsInteractiveWrite a complete, playable 2D web game called 'Neon Space Survival' in a SINGLE file (HTML + inline CSS + JS). Game Mechanics & Visuals: Theme: A stunning Cyberpunk/Synthwave neon style with a dark background. Player: The user controls a glowing neon-blue spaceship using the Mouse (the ship strictly follows the mouse cursor). Clicking the left mouse button shoots neon-pink lasers upwards. Enemies: Glowing red asteroids constantly fall from the top of the screen at varying speeds. Juicy Effects (Crucial): When a laser hits an asteroid, it MUST shatter into dozens of glowing particle physics (tiny dots that scatter and fade out over gravity). Add a brief 'Screen Shake' effect to the canvas whenever the player is hit or a large asteroid explodes. UI: A sleek, glowing score counter at the top right. A 'Game Over' overlay with a 'Click to Restart' button when the player crashes. Strict Constraints: Everything MUST be in one single HTML file. Do NOT use any external images or assets. Draw the ship, lasers, and asteroids using HTML5 <canvas> basic shapes (lines, arcs). Ensure a smooth requestAnimationFrame loop and perfect bounding-box collision detection. Make it responsive (the canvas should resize to fit the browser window). Provide the full code without truncation.