Skip to content
Onsite

Build a chess board with legal moves

HardP3Build

Build a chess board in React that renders pieces, highlights the legal moves of a selected piece, enforces turns and detects check.

Time box: 90 to 120 minutes. Castling, en passant and promotion are stretch goals.

Requirements

0 / 6

Stretch goals

0 / 3

Only after every requirement works.

Hints

Workspace

Your files are saved in this browser as you type.

When every requirement works, mark it complete to count it as solved.

Solution notes

How a strong candidate structures it, and what interviewers check.

Saved automatically