Game Development 5 min read

How to Play the Dou Dizhu Game Inside IntelliJ IDEA

This guide explains how to log in, list, start, and play the Dou Dizhu card game in IntelliJ IDEA, covering both single‑player and multiplayer modes, debug display options, and special commands for mode switching and chat hiding.

Java Captain
Java Captain
Java Captain
How to Play the Dou Dizhu Game Inside IntelliJ IDEA

Preface

If playing chess in IDEA is excessive, playing Dou Dizhu (landlord) is even more so.

Start

1. Login

Use the #login {nickname} command to log into the server.

2. View Game List

Run #showGame to see available games.

3. Launch Dou Dizhu

Execute #play {game_id} to start the game, e.g., #play 1 .

The game supports both AI and online modes; click the “Start Game” button for AI mode.

① Call Points

After the game starts, the system randomly selects a player to call points (1‑3). The highest caller becomes the landlord; if no one calls, cards are redealt.

② Play Cards

Select cards and click the “Play” button when it becomes clickable. Use the “Pass!” button to skip a turn.

③ Multiplayer Mode

Create a 2‑player or 3‑player room, invite others with the “Invite” button, and join via #join . Once all are ready, click “Start Game”.

④ Debug (Safe “Fish‑catching”) Mode

Enable the “Debug Mode” to change UI display:

Default : normal game view.

Soft : hides game title and suit info, uses IDEA theme colors.

Hard : shows “Synergy Debugging”, renames players to “Machine 01/02/03”, landlord to “Master”, farmer to “Slave”, and changes button labels to “Run!”, “Debug”, etc., with cards displayed in hexadecimal.

Use #mode 1 to activate “Fish‑catching” mode and #clean to hide chat history.

Open‑Source Repository

https://github.com/anlingyi/xechat-idea

tutorialIDEADou DizhumultiplayerDebug ModeGame Plugin
Java Captain
Written by

Java Captain

Focused on Java technologies: SSM, the Spring ecosystem, microservices, MySQL, MyCat, clustering, distributed systems, middleware, Linux, networking, multithreading; occasionally covers DevOps tools like Jenkins, Nexus, Docker, ELK; shares practical tech insights and is dedicated to full‑stack Java development.

0 followers
Reader feedback

How this landed with the community

login Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.