Clariant Interview Question

Given a simple tic tac toe requirement. Complete the program within an hour without internet access.