- Home
- Skills
- Game Development
- Hunan Paohuzi Card Game
Hunan Paohuzi Card Game
by 无极
Complete Hunan Paohuzi card game source code — 3-player real-time multiplayer (Shaoyang Zi Pai rules) with AI practice mode and Pi payments.
$23
Hunan Paohuzi Card Game
Example session with this skill installed
I need to set up a local test of the multiplayer server and see how the coin packs are priced for the Pi shop.
- Read your context and instructions
- Compiled the hunan paohuzi card
The multiplayer server is a Node.js application located in game/server/. You can run it locally and inspect the config.js file for coin pricing.
Server Setup and Configuration
// game/client/src/config.js
// Configuration for Pi Network and Game Economy
export const SERVER_URL = 'ws://localhost:3001';
export const PI_NETWORK = 'testnet';
export const START_COINS = 4000;
export const QUICK_FEE = 100;
// Pi Shop Pricing (1,000 coins = 0.1 Pi)
export const COIN_PACKS = [
{ amount: 1000, pi: 0.1 },
{ amount: 6000, pi: 0.5 },
{ amount: 13000, pi: 1.0 }
];
export const ROOM_FEES = [0, 100, 500];
To run the server locally for testing
- Navigate to the server directory:
cd game/server - Install the WebSocket dependency:
npm install - Start the server:
node server.js - Run the integration test to simulate 3 players:
npm test
Next steps
- Update
SERVER_URLin the client config to match your local IP orlocalhost. - Launch the React client using
npm run devto connect to the local server. - Verify the 6-digit room code generation by opening the game in multiple browser tabs.
Connects securely to your tools. The creator never sees your data.
About this skill
Full source code for a Hunan Paohuzi (Shaoyang Zi Pai) card game. Includes a React client (solo play vs AI plus real 3-player multiplayer) and a Node.js game server. In-game coins can be bought with Pi payments. Deploy the client to any static host and run the server with Node.js. Live demo: https://wuji8889.github.io/hunan-paohuzi/
Stateless server resets rooms and balances on restart. No database included. Pi mainnet requires building a custom payment verification backend.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 15 days ago
- Software
Node.js
Permissions
What's inside
Frequently Asked Questions
New in Game Development
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Game Development.