Minimax will never lose at tic-tac-toe: an AI Algorithm Explained, Ruby example | Hacker News Reader