feat(games): implement chess game plugin with full UI
Some checks failed
Deploy to Production / test (push) Failing after 32s
Some checks failed
Deploy to Production / test (push) Failing after 32s
Add chess as the first game plugin using the existing multiplayer framework. Server-side game logic uses chess.js with server-authoritative clock management. Client uses react-chessboard v5 with cburnett piece set, drag-and-drop + click-to-move, configurable time controls (bullet/blitz/rapid/classical/none), draw offers, resignation, and timeout detection. Extends the game framework with room creation options to support per-game configuration. Includes 57 tests covering all code paths. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -40,6 +40,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@napi-rs/canvas": "^0.1.89",
|
||||
"chess.js": "^1.4.0",
|
||||
"discord.js": "^14.25.1",
|
||||
"dotenv": "^17.2.3",
|
||||
"drizzle-orm": "^0.44.7",
|
||||
|
||||
Reference in New Issue
Block a user