Agent skill
run-server
Start the Gambit game server on 0.0.0.0:1234. Use when the user wants to run just the server, test server functionality, or manually test with clients.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/testing/run-server-fwfsoft-gambit-563b1d1a
SKILL.md
Run Gambit Server
Starts the Gambit game server, which listens for client connections on port 1234.
Instructions
- Run the server command:
bash
make run-server
Server Details
- Listen Address: 0.0.0.0:1234
- Protocol: ENet (UDP-based)
- Logging: Server logs all connections and events via spdlog
Expected Behavior
When running, you should see:
[HH:MM:SS] [info] Logger initialized
[HH:MM:SS] [info] Server initialized and listening on port 1234
When clients connect:
[HH:MM:SS] [info] Player <id> joined (color: r,g,b)
Stopping the Server
- Press
Ctrl+Cto gracefully shut down the server - The server will close all client connections and clean up
Notes
- The server runs in the foreground - use
Ctrl+Cto stop it - For testing multiple clients, use the
devskill instead - Ensure port 1234 is not already in use
- The server will automatically build if needed
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?