Agent skill
run-client
Start a single Gambit game client that connects to 127.0.0.1:1234. Use when the user wants to run a client, test client functionality, or manually connect to a server.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/run-client
SKILL.md
Run Gambit Client
Starts a single Gambit game client that connects to the server at 127.0.0.1:1234.
Instructions
-
Ensure the server is running first (use
run-serverskill ordevskill) -
Run the client command:
bashmake run-client
Client Details
- Server Address: 127.0.0.1:1234
- Graphics: SDL2 window (800×600)
- Protocol: ENet (UDP-based)
- Input: WASD or arrow keys for movement
Expected Behavior
When running, you should see:
[HH:MM:SS] [info] Logger initialized
[HH:MM:SS] [info] Connected to 127.0.0.1:1234
[HH:MM:SS] [info] Local player color: r,g,b
An 800×600 window will open showing the game.
Stopping the Client
- Close the window or press
Ctrl+C - The client will disconnect gracefully
Notes
- The client runs in the foreground
- For testing multiplayer, use the
devskill to run 1 server + 4 clients automatically - The client will automatically build if needed
- Ensure the server is running before starting the client
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?