Affinity Interview Question

Implement Tic Tac Toe in a game loop