Splendor
Four-person team project · 2025–2026
A browser version of Splendor with multiplayer lobbies, game rules, chat, and an AI advisor. A team project with tests from individual rules through browser play.
Built by a four-person team. The repository credits AI assistance for the interface, art, initial infrastructure, and documentation.
View repositoryA real four-player game running on a local build, mid-game tokens set through the test-state endpoint.
The shared board
Detail from the four-player game: card costs, bonuses, and the three decks.
Whose turn is it?
The player panel keeps the current turn and every player's tokens beside the board.
Checking a move
Rule checks happen before an accepted move changes shared game state.
Implementation notes
Validate a move before sharing it.
Purchasing cards, reserving cards, and taking tokens depend on the current turn and board state. The project separates these rules from HTTP and socket handling so an action can be checked before changing the game.
Build the application as a team.
Accounts, lobbies, chat, notifications, achievements, and an AI advisor sit around the game. React renders the client, while Express, Socket.IO, and SQLite support the server.
This case study describes the team's application. The repository credits AI assistance for the UI, art, initial infrastructure, and documentation.
Test the rules from several directions.
The repository includes Vitest and Supertest, Playwright browser tests, fast-check property tests, and Stryker mutation testing. They check examples, generated cases, full browser flows, and whether assertions catch changed behavior.
2
3
4
1