IntelliJ IDEA Plugin Plays Dou Dizhu Under the Guise of 'Synergy Debugging'
It's a playful reminder of how far IntelliJ's plugin API can go in remaking the editor for niche uses, and the disguise mechanics are a tongue-in-cheek nod to developers who need a break without looking idle. For anyone who spends all day in the IDE, it's a free, functional card game that is also a social engineering joke.
xechat-idea is an open-source IntelliJ IDEA plugin that embeds a fully playable Dou Dizhu (Fight the Landlord) card game into the IDE. Players log in with `#login`, list games with `#showGame`, and start a round with `#play 1`. The game supports both human-versus-AI matches and 2- or 3-player online rooms, with room creation and invited players joining via `#join`. Bidding follows standard Dou Dizhu rules: players bid 1-3 points, the highest bid becomes the landlord, and passing triggers a redeal.
The party piece is a "Debug Mode" with three skins. Default shows the game normally; Soft recolors cards to fit the IDEA theme and hides suit icons; Hard transforms everything into a fake debugging session: "Synergy Debugging" as the title, player names like "Machine 01", "Master" and "Slave" for roles, "Run!" and "Debug" for buttons, and cards rendered in hexadecimal with a hover-to-inspect tooltip. A separate `#mode 1` command hides the chat window, and `#clean` wipes chat history, so a glance at the screen shows only code-like UI.
The Hard mode's rebranding is the cleverest part: swapping 'Pass!' for 'Run!', 'Play' for 'Debug', and players for 'Machine 01' turns a card game into something that passes as a distributed cluster debugging session at a glance.
The author's repeated jokes about the bot's incompetence suggest the AI logic is deliberately basic, which fits the plugin's fun-first purpose more than any serious attempt at a challenge.