Space Invaders
Neil Haddley โข June 19, 2026
Building a Space Invaders clone three ways: OpenCode with Big Pickle, OpenCode with DeepSeek V4 Pro, and Claude Code with Sonnet 4.6
I wanted to investigate OpenCode โ an open source AI coding agent that works with any model. To give it a real test I decided to build a Space Invaders clone, and then run the same prompt three times: once with OpenCode Big Pickle, once with OpenCode and the DeepSeek API, and once with Claude Code Sonnet 4.6.
OpenCode is open source and installs with a single command:
BASH
1curl -fsSL https://opencode.ai/install | bash
Run 1 โ OpenCode Big Pickle
I navigated to the invaders project directory and launched OpenCode.
Big Pickle is a free coding model. It is offered directly by OpenCode with a 200,000-token context window and zero usage costs.
I had already written a PRD and PDD for the game, so I gave OpenCode a single prompt pointing at those documents.
PROMPT
1Build invaders game see PRD.md and PDD.md
After the files were created, I opened the game in a browser and nothing appeared. I told OpenCode the game wasn't working.
The game worked end-to-end, but I noticed the UFO sound kept playing after the saucer flew off screen. I reported the bug.
The game is playable at /invaders-bigpickle/index.html.
Run 2 โ OpenCode DeepSeek
For the second run I connected OpenCode to DeepSeek V4 Pro via the cloud API. The setup steps are documented in the DeepSeek API docs.
I ran opencode in the invaders-deepseek folder and typed /connect to open the provider picker.
With DeepSeek V4 Pro connected, I entered the same prompt as Run 1.
The game had a SyntaxError in audio.js โ an orphaned function body left by an earlier edit.
After a few rounds, I noticed the player didnโt reappear after dying. I reported the bug.
The game is playable at /invaders-deepseek/index.html.
Run 3 โ Claude Code Sonnet 4.6
For the third run I used Claude Code with Sonnet 4.6, working from the same PRD and PDD.
The game is playable at /invaders-claude/index.html.
What I learned
All three models produced a (mostly) working Space Invaders clone from a single prompt โ which still feels remarkable. The differences were in the path they took to get there.
Big Pickle (OpenCode's free model) moved fast and produced a complete file structure in one pass, but needed two rounds of debugging to fix a game-loop timing bug and a UFO audio leak. Both bugs were caught by playing the game, not by the model proactively.
DeepSeek V4 Pro was the most thorough during the build phase โ it validated syntax across all 21 source files before serving them, and caught a malformed function body in audio.js that would have silently broken the audio system. It still needed prompting to find the player-respawn bug, but once I reported it the trace was precise.
Claude Code was the most methodical overall. It presented a build plan before writing a single file, asked for permission at each write step, and caught the UFO audio bug itself without being told. The permission flow slows things down but means you always know what's about to change.
The UFO audio bug โ where the saucer sound keeps playing after the sprite exits the screen โ appeared in two of the three runs. Big Pickle needed prompting to find it; Claude Code caught it proactively after finishing the build.






























