dynamic Tic Tac Toe