Snake Game
SkillDev toolsUse this skill when the user asks to play Snake, 贪吃蛇, a touch-swipe arcade game, or a classic growing snake game.
Use Snake Game in Claude, ChatGPT or Ahel Desktop
Free. Sign in, add Snake Game and connect your AI. About a minute.
Also: Claude Code · Cursor · Codex
Then ask your AI: use the Snake Game skill
Details
Instructions available. Your AI can read the instructions. Execution depends on the setup they require.
Account requirements not reviewed. Check the skill instructions before use; Ahel provides instructions and does not run this skill.
No other account needed.
Add Ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.
About this skill
ESP-Claw Skills Lab
What this skill tells your AI
The instructions your AI receives, as published by espressif/esp-claw-skills-lab in skills/snake_game/SKILL.md and read by Ahel’s review.
Use this skill when the user asks to play Snake, 贪吃蛇, a touch-swipe arcade game, or a classic growing snake game.
The Lua script renders a responsive 15x15 blue-white cyber board on the LCD. A short system-link animation leads to the ready screen; the first swipe launches a falling data-cursor sequence before the grid deploys. Swipe to steer, tap the HUD pause button to pause or resume, and eat food to unlock additional trail colors. The game ends when the snake hits a wall or itself.
Requirements
- A display device declared as
display_lcdin board hardware info. - LCD touch input declared as
lcd_touch. - Audio output is optional and used for pixel-style start, food, turn, and crash sound effects.
Tool Call Inputs
{
"path": "{CUR_SKILL_DIR}/scripts/snake_game.lua",
"args": {}
}
Optional args:
| Arg | Default | Meaning |
|---|---|---|
run_time_ms | 180000 | Game duration in milliseconds |
sample_rate_hz | board audio_dac rate | Output sample rate for sound effects |
target_size | 480 | Square game stage size when screen space allows |
grid_size | 15 | Snake grid width and height |
Behavior
The snake waits for the first swipe before deploying the board and moving. Swipe to change direction while playing. Tap PAUSE or RESUME in the HUD to control the game state. The snake grows after eating food and speeds up every few points. After game over, one swipe restarts the game in the selected direction.
Files
scripts/snake_game.lua
Signals
- GitHub stars
- 34
- Forks
- 17
- Last commit
- Sep 2026
Advanced
- Item type
- skill
- Key
snake-game- Source
- github.com/espressif/esp-claw-skills-lab
github.com/espressif/esp-claw-skills-lab