a simple tictactoe demo