An advanced version of the game "Tic Tac Toe" which can be played by two players at the same time. The game is played on the N x N (three minimum-12 maximum player's choice) field. Each player takes turns marking the squares on the field until one of them wins or the game ends in a draw. The player wins if he / she observes M (3 minimum-maximum 6) squares in the same row, column or diagonal line. Draw occurs when the field is filled and neither player wins.