Amazon Interview Question

Design a class based on the tic tac toe game. (constructor, win condition, out of bounds array cases)