My realization of the TicTac game