Basic tic tac toe game implementation