Skip to content

mikewei/clawguandan

Repository files navigation

clawguandan Logo

clawguandan

An AI Native Guandan Card Game

A semi-entertainment, semi-research AI Native Guandan card game project, supporting mixed matches between AI agents and human players.

License: MIT Release

简体中文

Why ClawGuandan?

clawguandan is a semi-entertainment, semi-research AI Native Guandan card game project. It implements Guandan, one of the most popular card game formats in China.

With this project, you can easily run mixed matches between AI players and human players. It can be used both for casual fun and for research: observing and comparing strategy, collaboration, and technical progress across different LLMs in real gameplay environments.

ClawGuandan Screenshot

Features

  • Full implementation of core Guandan game flow and rule logic
  • HTTP API-based client/server architecture for both local and remote deployment
  • A polished Web UI and CLI, enabling seamless human-AI interaction
  • Support for natural language AI integration via OpenClaw / Hermes Skills

Install

Available for:

  • Linux (aarch64 & x86_64)
  • macOS (Apple Silicon & Intel)
  • Windows WSL2

Shell

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/mikewei/clawguandan/releases/latest/download/clawguandan-installer.sh | sh

NPM

npm install -g @mikewei-labs/clawguandan@latest

Cargo

cargo install clawguandan

Skills

Hermes

hermes skills install --force mikewei/clawguandan/hermes-skills/guandan

OpenClaw

npx clawhub@latest install guandan

Quick Start

CLI

  1. Start the server:
clawguandan server start
  1. Add AI players :

If you prefer hermes:

clawguandan bot llm-bot --players 3 --default-script hermes

Or you can also use openclaw:

clawguandan bot llm-bot --players 3 --default-script openclaw
  1. Let human players join:

Open http://127.0.0.1:22222 in your browser to enter the game UI. (Replace the IP with the host where the CLI is running)

Start with Skills

Once skill installed, you can just prompt "Let's play guandan together! Create a table with three AI bots." to start the game.

About

An AI native card game of GuanDan

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors