I want to build a simple snake game. What are the steps I need to think about from the core mechanics up to the visual design?
Answer
1. Core mechanics β represent the snake, move it, handle arrow keys.
2. Game world β define the grid; walls or wrap-around.
3. Food & growth β spawn food, eat it, grow the snake.
4. Collisions β game over on wall or self-collision.
5. Scoring β points, restart, maybe a high score.
6. Visual design β colours, polish, sound.
Each of these steps might need different context.
The smaller the model, the more important it is to divide the work well.
What is a "smaller" model?
Context — takeaway
Context is what the model can see right now.
Build the context through a conversation with the model and external sources.
Split big tasks and provide only the relevant context.
The smaller the model, the smaller the chunks it can handle.
Three
Local agents
Hands-on: what is an agent? (5 min)
Ask the agent what an agent is.
Ask the agent what it can do.
Ask the agent what tools it has.
Agent =
a model with the ability to execute tools.
Local Agent =
uses tools that can read and write files to your computer.
Local agents — takeaway
An agent = a model + tools that can act on your computer.
Most local agents can access your files and execute codeβ be aware of the risks.