About
A playable vertical-scrolling space shooter with enemy waves, a scaling boss fight, pause/resume, and localStorage high-score persistence, rendered on canvas.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Space Invaders to your project and fits it to your theme.
Code
How Space Invaders is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
"use client";
import SpaceInvaders from "@/components/ui/space-invaders";
function SpaceInvadersDemo() {
return (
<div className="flex w-full items-center justify-center p-4">
<SpaceInvaders className="w-full max-w-sm" />
</div>
);
}
export default SpaceInvadersDemo;







