Pergunta de entrevista da empresa Zillow

How would you implement an infinite sized Tic Tac Toe game? How would you check for win conditions?