Generalization of Tic-Tac-Toe game and a solver based on the Minimax Algorithm and Alpha-Beta pruning.