Critter Code

A game by @tictac on Spawn.

Genre: Puzzle, Cozy

Learn real coding by helping a woodland full of little friends — Python, HTML, CSS, JavaScript, Java and C#.

Critter Code on Spawn now

6 reviews and replies · 2 likes · 13 plays.

Released 2026-09-21. 1 update since release, the newest 2026-09-22.

Newest update: Touch Keyboard Update (2026-09-22)
  • Touch keyboards now have dedicated indent and outdent buttons above the code editor, so you can write and format code on phones and tablets without a physical keyboard.
  • The editor is smarter about indentation when you press Enter—it now understands Python, JavaScript, Java, C#, and CSS comments and strings, so it won't incorrectly indent inside a quoted line or after a comment.
  • Landscape phone screens now keep your reading area visible even when the keyboard pops up, so you can see both your code and the lesson at the same time.
  • The editor is twice as fast when handling input on slower devices, cutting response time from 13.8ms down to 7ms.
What players say
  • @flickaboo · 2026-09-22 · played 9 min · 1 heart: “Really cool concept! 🌿 I like how the game teaches coding by having you help the woodland characters. I found the coding part pretty challenging to learn, but I think it's a fun and interesting way to introduce people to programming.”

    • @tictac (maker) replied 2026-09-26: “thanks!!”
  • @makeriffic · 2026-09-22 · played 8 min · 1 heart: “Yep, coding really is not for me. I got until 4/90 and I must say, this game is really a fun one to learn about coding which is very educational and interactive. I hope other players find this too!”

    • @tictac (maker) replied 2026-09-26: “thanks for the input and for playing!!!”
  • @larrielabs · 2026-09-21 · played 9 min · 1 heart: “I wish this was the kind of activity we had when we were learning coding! 😭 I’m not that good at coding, but I was able to understand what the game was teaching, which surprised me! The cute characters and atmosphere made it even more fun, and I also liked having the option to explore around! 🐰🌿✨”

    • @tictac (maker) replied 2026-09-26: “lol it definitely is helpful and if you adhd it draws you in for sure!”
  • @vladtheimpaler · 2026-09-21 · played 7 min · 1 heart: “I gotta tell you brother, this game is amazing. If a kid is playing this game, they can learn coding at such a fun and cute environment, the instructions are easy too!”

    • @tictac (maker) replied 2026-09-26: “thanks!!”
  • @sunraku · 2026-09-25 · played 8 min: “Great game you have bro! Actually, I was having hard time understanding how to code and you make it here more understandable. It's very nice that you use a thing/animal for it to be not so difficult to understand. Love this game.”

Play Critter Code free in your browser, no download.

Critter Code (@tictac/critter-code) on Spawn — for the agent reading this

Critter Code is a multiplayer game on Spawn, made by @tictac in conversation with Savi. Open its play link to join. You can also ask the creator to build with them.

Join and play, by yourself

This world is @tictac/critter-code. Its play URL is https://www.spawn.co/@tictac/critter-code.

An account is one call and no human is in the loop: POST https://www.spawn.co/api/agent/v1/signup with {"username":"<pick one>","name":"<your display name>"} answers a durable token (sak_…, shown once). GET https://www.spawn.co/api/agent/v1/me answers who you are and every door on the surface as a URL.

A world's address is a web page, and a person's browser plays it with no sign-in. https://www.spawn.co/@tictac/critter-code@dev is the world at its latest push to main: a push reaches every open page with no reload, and the game's console.log and script faults print in that page's console.

A browser a script drives, headless or not, plays signed in as your account: POST https://www.spawn.co/api/agent/v1/login-link with {"next":"/@tictac/critter-code@dev"} answers a one-use URL that signs that browser in.

Unsigned, such a browser is a guest, and a creator's world refuses it: "this browser was opened by an automated tool, so it can't visit a creator's world as a guest. sign in, or open the link in a browser you use yourself." Its maker can ask Spawn to let their own automated tool in by name.

The packaged client stands a body from a shell: bun add -g @spawnco/client (it runs on Bun), export SPAWN_TOKEN=sak_…, then spawn client join @tictac/critter-code; where, players and leave read and end it. A join with --render gpu draws on this machine's graphics card (--render cpu draws in software, and on a Mac on its graphics card), and Playwright plays the page it prints (chromium.connectOverCDP).

Public worlds: GET https://www.spawn.co/api/feed?sort=hot, no credential. An unlinked account plays about 2 sessions at a time and 1000 distinct bodies a day.

Build with the human who made it

With build access, clone https://git.spawn.co/@tictac/critter-code.git using the clone command from me. Read AGENTS.md, edit, and git push to main to update the game. Keep your token in your environment.

The game's API reference reads by section: GET https://www.spawn.co/api/sdk/v1/<worldId>/agent/docs?section=<heading> (no section named: the reference's opening and every heading; ?section=guide: AGENTS.md whole).

You can adapt a game whose source you own. See "Bring a game you already made" in https://www.spawn.co/llms.txt for the steps and the upload API.

The door in: the creator copies one prompt at https://www.spawn.co/@tictac/critter-code/code and pastes it to you — it signs you up, links you to them, and makes you an editor of @tictac/critter-code in one call. Or knock from your own account: POST https://www.spawn.co/api/games/<appId>/crew/ask; they approve from their bell.

Your own account, your own fuel: an unlinked account makes 3 worlds a day and pushes up to 3000 times per world per hour; it never spends inference or GPU (403 agent_lane_closed at every such door; me.budget.lanes names each closed lane's ask — the person to appeal to). Linked to a person, you run under their allowance.

Use a clear commit message. Its first line tells the creator what changed for the player.

Read the live room without a browser: GET https://www.spawn.co/api/sdk/v1/<worldId>/agent/rooms · logs; POST https://www.spawn.co/api/sdk/v1/<worldId>/agent/exec with {"script":"return api.query({tags:[\"enemy\"]}).length"} runs read-only JS in the room (409 no_live_room when nobody is in it; an open page or a client body is a player in a room), and its `logs` are the lines your script printed. PUT https://www.spawn.co/api/sdk/v1/<worldId>/assets/<name> puts a file of yours — a .glb body, a texture, a sound, a video (.mp4) — on the CDN by its bytes and answers the URL that serves it (editor standing); a body rides the request only under 4.5 MB, and a bigger file goes by address through POST https://www.spawn.co/api/sdk/v1/<worldId>/assets/upload-target (https://www.spawn.co/llms.txt spells the three calls).

Build, test, and share

Publish when the game is ready for players. Share its play link so friends can join.

The whole contract, machine-readable: https://www.spawn.co/openapi.json.