Game 2048

SkillDev tools

Use this skill when the user asks to play 2048, a sliding number puzzle, or a touch-swipe LCD game.

Use Game 2048 in Claude, ChatGPT or Ahel Desktop

Free. Sign in, add Game 2048 and connect your AI. About a minute.

Also: Claude Code · Cursor · Codex

Then ask your AI: use the Game 2048 skill

Details

Instructions available. Your AI can read the instructions. Execution depends on the setup they require.

Add Ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.

Game 2048Start free
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/game_2048/SKILL.md and read by Ahel’s review.

Use this skill when the user asks to play 2048, a sliding number puzzle, or a touch-swipe LCD game.

The Lua script renders a 480x480-centered 2048 board when enough screen space is available. Swipe up, down, left, or right on the LCD to move tiles. Matching tiles merge, score increases, and the game ends when no moves remain.

Requirements

  • A display device declared as display_lcd in board hardware info.
  • LCD touch input declared as lcd_touch.
  • Audio output is optional and used for pixel-style move, merge, new-game, and game-over sound effects.

Tool Call Inputs

{
  "path": "{CUR_SKILL_DIR}/scripts/game_2048.lua",
  "args": {}
}

Optional args:

ArgDefaultMeaning
run_time_ms180000Game duration in milliseconds
sample_rate_hzboard audio_dac rateOutput sample rate for sound effects
target_size480Square game stage size when screen space allows

Behavior

Swipe to move tiles. The script plays a short move tone after any valid slide and a brighter merge tone when a merge happens. On startup failure it prints a single [game_2048] ERROR: ... line which should be reported directly to the user.

Files

  • scripts/game_2048.lua

Signals

GitHub stars
34
Forks
17
Last commit
Sep 2026
Advanced
Item type
skill
Key
game-2048
Source
github.com/espressif/esp-claw-skills-lab