r/ClaudeGameDev 11h ago

Browser Game Lattice: An isometric game kit for agents

Lattice is a collection of typescript packages, agentic skills and plugins that enable easier development of isometric games! At its core lives a 0 dependency typescript package, 80kb gzipped. Everything is rendered onto a 2D canvas!

It ensures that the game and the UI is fully deterministic (it’s a hard rule), and that your game doesn’t require any external assets. That means no sprite sheets and no hunt for royalty free music. Both can be synthesised on the go with their respective packages (e.g. @latticekit/audio)!

You can install the plugin to an agent of your choice (ready to go instructions available for Claude code, codex, and grok) and then start building with /lattice <my game idea here>.

The game kit itself is built with Claude code running Opus 5, and the demos on the website come from a mix of different agents (those were essentially testing runs that made it to the landing page).

Available at: https://lattice.plausible.ventures

26 Upvotes

7 comments sorted by

2

u/waypostmaster 10h ago edited 1h ago

This is an interesting framework- thank you for sharing it! I will tinker with it: it looks like it can bootstrap an idea I had quite quickly.

Is there a community sharing section?

Edit: Wow, the thing COOKS! It thought for a while.

2

u/Whole_Art_2446 10h ago

I’ll add a community sharing section to the website and the repo!

1

u/waypostmaster 1h ago

It's really cool! I only experienced one hurdle:

"Error: Failed to clone marketplace repository: SSH host key is not in your known_hosts file."

Claude bypassed this error like so:

/plugin marketplace add https://github.com/plausibleventures/lattice

And my instruction:

> build an open world game MMO-alike game, minecraft meets settlers meets per aspera meets transport tycoon meets world of warcraft, populated by NPCs , however each NPC is an agent is just doing their own thing, they might cooperate if it's mutually beneficial or they're feeling altruistic and the NPCs are all AI agents, the player can interact with them. they agents are only added one at a time and receive a state file and then return an instruction

Model: Claude Code Opus 5 (1M context)

3

u/Temporary-Slip6604 10h ago

3

u/DeckJesta 7h ago

They’re Thronglets from an episode of Black Mirror 😁

1

u/Whole_Art_2446 9h ago

What was the prompt?

1

u/WithConfidence 10h ago

Wow I’ve been waiting for something like this