For this university module, a genetic algorithm was made to play a tower defence game and attempt to maximise the score and last for as many rounds as possible.
By creating a scoring system, basing the overall score on things such as time survived and enemies killed, an elitism algorithm allowed for the program to discover the best possible positions for turrets.
Mutation allowed for the turrets to be slightly shifted and moved over time, to allow the program to continuously attempt to improve itself.
By creating a scoring system, basing the overall score on things such as time survived and enemies killed, an elitism algorithm allowed for the program to discover the best possible positions for turrets.
Mutation allowed for the turrets to be slightly shifted and moved over time, to allow the program to continuously attempt to improve itself.