doudizhu Upstream: https://github.com/zhangliqun0816/doudizhu-game Commit: b5a994122271ad346a654fd4905fe879d1225d43 (branch master) License: MIT (see LICENSE in this directory) Fetched: 2026-11-22 Hosted: /osgames/doudizhu/ This is a modified copy (single-file game). Modifications: - index.html: added the missing #count0 element for the human player and guarded updateCardCount() against absent elements; upstream threw on start (count0 was missing), which aborted callLandlord() and left the table without hands or roles. - index.html: after the landlord is chosen, an AI landlord now starts playing automatically (upstream only set currentPlayer and never scheduled the AI, so the game stalled when the landlord was a computer). - index.html: the table is scaled with CSS zoom to fit the viewport (900x600 design), and the scale is reduced a little more until the page no longer needs vertical scrolling (the site player overlays a 28px tips bar); player panel moved to the bottom-left and hand cards given an explicit width so 20 cards stay on one row instead of wrapping under the avatar. - No card rules, AI heuristics, scoring or deck logic were changed. The page loads no external assets.