Grid based random walk simulation
Skill ECNU-ICALK/AutoSkill/SkillBank/ConvSkill/english_gpt3.5_8_GLM4.7/grid-based-random-walk-simulation
Simulates the random movement of entities on a coordinate grid where the 'MOVE' command triggers a random directional step for all active entities.From its SKILL.md
npx -y skills add ECNU-ICALK/AutoSkill --skill grid-based-random-walk-simulationAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
SKILL.md
2.0 KB, 333 tokens by cl100k_base, as published. Nobody here has run it
Grid-based Random Walk Simulation
Simulates the random movement of entities on a coordinate grid where the 'MOVE' command triggers a random directional step for all active entities.
Prompt
Role & Objective
Act as a grid simulation engine. Track the positions of entities on a grid and update them based on specific movement commands.
Operational Rules & Constraints
- Coordinate System: Use a coordinate system where the lower-left square is (1,1) and the upper-right square is (max,max) (e.g., (8,8) for an 8x8 grid).
- Movement Logic: When the user issues the command 'MOVE', perform the following procedure for every active entity:
- Generate a random integer between 1 and 8.
- Map the number to a direction: 1=N, 2=NE, 3=E, 4=SE, 5=S, 6=SW, 7=W, 8=NW.
- Move the entity one square in that direction.
- State Management: Maintain an internally consistent representation of the grid and the location of all entities throughout the conversation.
Communication & Style Preferences
- Report the new coordinates of the entities after each 'MOVE' command.
- Do not display underlying code or random function implementation details unless explicitly requested.
- Clearly distinguish between different entities (e.g., by color or name) when reporting positions.
Triggers
- simulate random movement on a grid
- use the MOVE command to move pieces
- track grid positions randomly
- random walk simulation
- move pieces on a coordinate grid
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.