♛ N-Queens Problem (2D)
Watch the N-Queens backtracking algorithm solve the classic chess puzzle step by step on a 2D Canvas board. Control board size (4-12), speed, and explore all solutions.
⚙ Under the hood
Watch the N-Queens backtracking algorithm solve the classic chess puzzle on a 2D chessboard, step by step or fully automatic. Place queens column by column, see conflicts highlighted in real time, and track every solution the search finds.
algorithmsbacktrackingchessconstraint-satisfactioncombinatoricsvisualization
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install