All problems
Foundational·🎮 Gaming·Google · Microsoft · Amazon

Design
Chess Game

Design a two-player chess game with all piece types, legal move validation, check/checkmate detection, and turn management.

#OOP#Game Design#Board Game
Start Solving 7F + 3NF requirements inside

01 -  Why interviewers ask this

Chess is a favorite because piece movement rules are genuinely varied — it rewards candidates who reach for polymorphism (each piece type implements its own move validation) over one giant switch statement.

02 -  Where this system exists in the real world

You interact with this design every day.

Online chess platforms (move validation engines)

Chess puzzle and training apps

Board-game engines with piece-specific movement rules

03 -  What you'll master

Solve this once. Know it forever.

01

Use polymorphism for per-piece movement rules

02

Detect check, checkmate, and stalemate conditions

03

Model a board and move history cleanly

04 -  What you'll design

7 functional · 3 non-functional requirements.

Support all six piece types: King, Queen, Rook, Bishop, Knight, Pawn

6 more requirements inside

Sign in to unlock the full brief and start designing

Unlock Requirements

05 -  Companies that ask this

You may face this exact question in your next interview.

G
Google
M
Microsoft
A
Amazon

Ready?

Open the canvas.
Design it yourself.

See all requirements, use staged hints, run your code, and compare with community discussions - all on the same canvas.

Start Solving