Meta Interview Question

Code up the solution to solving a simple board game