/goal Use the spec I wrote to build this chess game. Use Playwright MCP for end-to-end testing. Verify the game supports castling, pawn promotion, checkmate, stalemate, and rating calculation. Fix any bugs found during testing and re-run. Loop no more than 20 times.