Snake
Classic playable snake.
The classic Snake game, fully playable with keyboard controls.
type Β· snake_game
Runs entirely in the shell β no backend needed.
How to use it
Just ask for it in chat β the agent emits this widget and the shell renders it:
Try saying
βlet me play snakeβ
Example
The agent returns this A2UI component (inside the components array of a /chat response):
snake_game.json
{
"type": "snake_game",
"gridSize": 20,
"speed": 5
}Properties
| Prop | Type | Description |
|---|---|---|
gridSize | number | Board size |
speed | number | 1 (slow) β 10 (fast) |
Browse the full Widget Index, the Widget Catalog, or learn the A2UI system behind it.