Text this: Application of minimax algorithm in dots and boxes game