The Code tab gives you full visibility into the game Pixelfork generates. Every game is built as a single self-contained index.html file — and you can read and edit every line of it here. Switch to it by clicking Code in the top center tab bar.
What you’ll find
The file contains everything — game logic, visuals, physics, UI, and audio handling all in one place. It’s structured HTML, CSS, and JavaScript. Even if you’re not a developer, it’s worth opening at least once to understand what Pixelfork is actually generating under the hood.
Editing directly
You can make changes directly in the Code tab without using the AI at all. This is useful for small targeted fixes — tweaking a color, adjusting a size, changing a text label — where a full AI generation would be overkill. Direct code edits don’t use any credits.
When to use the Code tab vs the AI
Use the AI chat for anything structural — new mechanics, new levels, redesigned layouts, new features. Use the Code tab for surgical edits where you know exactly what needs changing. The two approaches complement each other well.
Version safety
Every direct edit you make in the Code tab creates a new version automatically — just like AI generations do. So you can experiment freely in the code knowing you can always roll back to a previous version with one click.