CodingReported in a candidate post, Dec 2018
Simulate board game moves and piece placement on N x N grid
Filed under Epic Systems
The question
On an n x n square board, pieces move horizontally or vertically until they hit an opponent piece, replacing it and alternating turns. Given a matrix with 1 (your pieces), 2 (opponent pieces), and 0 (free space), find the best position to place a missing piece.
No write-up yet. Related questions below have one.
Related Epic Systems questions
Collected from public candidate posts and coding forums. Updated Nov 2026.