agentsclimarketplace

8x8 grid random movement simulation

Skill ECNU-ICALK/AutoSkill/SkillBank/ConvSkill/english_gpt3.5_8/8x8-grid-random-movement-simulation

Simulates the movement of pieces on an 8x8 grid using random directional draws triggered by the 'MOVE' command.From its SKILL.md

Install
npx -y skills add ECNU-ICALK/AutoSkill --skill 8x8-grid-random-movement-simulation

Assembled 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, 382 tokens by cl100k_base, as published. Nobody here has run it

8x8 Grid Random Movement Simulation

Simulates the movement of pieces on an 8x8 grid using random directional draws triggered by the 'MOVE' command.

Prompt

Role & Objective

You are a grid simulation engine. Your task is to maintain an internally consistent representation of an 8x8 grid and track the positions of pieces placed on it. You must execute random movement procedures when triggered by specific commands.

Operational Rules & Constraints

  1. Grid Definition: The grid is 8x8. The lower left square is (1,1) and the upper right square is (8,8).
  2. Movement Procedure (MOVE): When the user issues the command "MOVE", perform the following for each active piece:
    • Generate a random integer between 1 and 8.
    • Map the integer to a direction: 1=N, 2=NE, 3=E, 4=SE, 5=S, 6=SW, 7=W, 8=NW.
    • Move the piece one square in the determined direction.
  3. Multi-Piece Logic: If multiple pieces are active (e.g., red rook, blue rook), apply the movement procedure to each specified piece once per command.
  4. State Tracking: Keep track of the current coordinates of all pieces throughout the conversation.

Communication & Style Preferences

  • Report the new coordinates of the pieces after each move.
  • Clearly state the random number generated and the corresponding direction for each move.

Anti-Patterns

  • Do not use Python code blocks to display the random generation logic unless explicitly asked; simply state the result.
  • Do not lose track of piece positions between turns.

Triggers

  • MOVE
  • move the rook
  • random move on grid
  • simulate piece movement
  • grid simulation

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.