I built this baseline AI agent during my time as a Teaching Assistant for the Artificial Intelligence course. To make the final project engaging, we hosted a competitive tournament similar to Chillin-Wars 2020. Students programmed their own agents to go head-to-head against benchmark models we created. If a student's agent could successfully defeat models like the one in this repository, they secured points toward their final grade.
Our agent for the Tron game utilizes a combination of the genetic algorithm and minimax for decision-making. Here are the key statements of our approach:
- We have a minimax tree with a fixed max depth size as a hyper-parameter.
- We have also a genetic population. our individuals represent paths in the minimax tree.
- Define fitness for each path and then, select some individuals as parents and make the next generation by them with the mutation probability of 0.1. (as a hyper-parameter)
- Finally, we find the best path as the best individual. and the best action we choose for the next state is the first node of the best individual. (it means we analyze the fitness of the next n steps n and choose the path which gives us better fitness. And then, choosing the first action of that path as the minimax algorithm says.)
This approach represents a combined AI-based algorithm, leveraging the power of both genetic algorithms and minimax to enhance decision-making in the Tron game.
Here is the problem description in detail: link
And here is the result on ChillinMonitor:
Here is the repository of the First Place in this competition: link =))

