← Questions

Design a chess game

0
AmazonGleanOO designLast asked Nov 2026

An object-oriented design interview question asked in Glean's coding round and at Amazon, last asked Nov 2026. It tests object-oriented design.

Design a two-player chess game in code: the board, the pieces and how each one moves, turns, check, checkmate and stalemate, and the special moves (castling, en passant, promotion).

Sign in to unlock this question

The full prompt, the worked answer and your own canvas or code with the AI tutor. New accounts get 5 credits: each one unlocks a question for good.

Where it's asked

What it tests

object-oriented design

Your canvas and the AI tutor open when you unlock this question.