跳过主要内容
WEB
Starter Kit免费

Ludra

/make-2d-platformer-games

A 2D game engine built for AI agents: games are JSON, every error comes with a machine-readable fix, and the agent plays and tests its own game headlessly. Ships a Claude Code plugin and skill.

GitHub 星数
3
(GitHub 星数,统计于 2026-10-25)
许可证
MIT
最近提交
2026/10/25
作者
ersingvn

信息来自作者的 README。 GameSkill 还没完整跑过。支持的 Agent 和安装步骤以作者文档为准。

安装

Claude Code
/plugin marketplace add ersingvn/ludra
/plugin install ludra@ludra
npm
npm install -g @ludra/cli
ludra new my-game

命令照搬项目 README。在本机运行前,请先看一眼仓库。

包含内容

  • The ludra CLI: new, check, play, test, review, dev
  • ludra check: diagnostics with a JSON path and a concrete fix
  • ludra play: deterministic headless simulation with timeline, events, ASCII map and real screenshots
  • ludra test: deterministic tests such as won == true, deaths == 0
  • The make-2d-platformer-games skill and Claude Code plugin
  • Canvas 2D drawing, GLSL post-processing, TypeScript scripts, particles and sound

适合

  • Agents building 2D platformers, top-down adventures or breakout games end to end
  • Proving a game is winnable before a human plays it

不适合

  • 3D games (on the roadmap)
  • Production projects: the engine is early (v0.8)

关于这个 Skill

Ludra is an engine designed around how an agent works. Scenes are plain JSON entities, ludra check returns problems with the exact path and fix, ludra play simulates input sequences headlessly and prints a timeline and an ASCII view of the frame, and ludra test asserts outcomes like won == true. A game isn't done until check, test and ludra review are clean.

The agent still gets full creative power: the Canvas 2D API, GLSL shaders, any font and TypeScript for custom mechanics. The README's example builds a platformer with spikes, a moving platform and a stompable enemy, then proves it can be won with zero deaths.

It's new (v0.8, a handful of stars) but actively built, with 30 commits and published npm packages.

环境要求

  • Node.js 22.18 or newer

相关主题

常见问题

搭配使用

作者标注的相关 Skills,或更适合相邻任务的 Skills。

相似 skills