Write platform game rules with AI
Describe a player action in plain language and get structured rule data. See which parts the platformer vocabulary can express and where it falls short.
Write platform game rules with AI when a level idea is clear in your head but difficult to hand over to a developer. Give game-dsl a sentence such as “the spring launches the player only when they land on top”. The output distinguishes landing on an object from touching its side.
This is a description language for a particular kind of two-dimensional platform game. The agent can write and check the rules on their own. Playing them needs a project that understands the vocabulary.
What it does
- Specify whether a goal is checked on contact or when the score changes.
- Tie a score increase and removal of a coin to one collection event.
- Describe a spring using the event and the direction of contact.
- Flag a missing action instead of quietly implementing half a request.
- Give a developer a structured example of a rule that needs clarification.
Install and use
- Install the skill in your agent. No game engine is required to draft the data.
- Describe a single interaction, including when it should begin and what changes afterwards.
- Try, “A player with three points may finish by touching the exit. Reaching three points alone should leave the level running.”
- Compare the returned clauses with your original request before passing the JSON to your project.
FAQ
Source
Made by 行之 (TheFool). Original skill: game-dsl, published on GitHub under the MIT licence.
View on GitHub