Object orientated tic tac toe game