AI Agent for "Breakthrough" (CS2109s - Introduction to AI and ML)
- Year: 2023
- Course: CS2109s - Introduction to AI and ML
- Project: Designed an AI agent for the "Breakthrough" board game
This project focused on developing an AI agent capable of strategic gameplay in the "Breakthrough" board game. The AI leverages advanced algorithms, including the minimax search algorithm with alpha-beta pruning, to evaluate possible game states and determine the optimal move. By simulating both the AI's and the opponent's potential moves, the agent can anticipate and counter strategies, enhancing its competitiveness.
To address the computational complexity inherent in the game, alpha-beta pruning was implemented, significantly reducing the number of nodes explored in the game tree. This optimization allows the AI to evaluate deeper levels of the game tree more efficiently, ensuring quicker and more informed decision-making.
Given the strict time constraint of 3 seconds per move, the AI employs iterative deepening search (IDS). This technique progressively increases the search depth within the allotted time, ensuring that the AI can make the best possible decision before time runs out. IDS strikes a balance between thoroughness and speed, adapting to the available computational resources.
The combination of minimax search, alpha-beta pruning, and iterative deepening allows the AI agent to provide a challenging and strategic opponent in "Breakthrough," making it a robust and effective player capable of competing against human and machine opponents alike.