Thursday, August 25, 2016

Leetcode 348: Design Tic-Tac-Toe

August 25, 2016
Problem statement:

Design a Tic-tac-toe game that is played between two players on a n x n grid.
You may assume the following rules:
  1. A move is guaranteed to be valid and is placed on an empty block.
  2. Once a winning condition is reached, no more moves is allowed.
  3. A player who succeeds in placing n of their marks in a horizontal, vertical, or diagonal row wins the game.
Will work on the algorithm very soon. 

No comments:

Post a Comment