Comparing evolutionary algorithms to solve the game of mastermind

  • Authors:
  • Javier Maestro-Montojo;Juan Julián Merelo;Sancho Salcedo-Sanz

  • Affiliations:
  • Department of Signal Processing and Communications, Universidad de Alcalá, Madrid, Spain;Departamento de Arquitectura y Tecnología de Computadores, Universidad de Granada, Granada, Spain;Departamento de Arquitectura y Tecnología de Computadores, Universidad de Granada, Granada, Spain

  • Venue:
  • EvoApplications'13 Proceedings of the 16th European conference on Applications of Evolutionary Computation
  • Year:
  • 2013

Quantified Score

Hi-index 0.00

Visualization

Abstract

In this paper we propose a novel evolutionary approach to solve the Mastermind game, and compare the results obtained with that of existing algorithms. The new evolutionary approach consists of a hierarchical one involving two different evolutionary algorithms, one for searching the set of eligible codes, and the second one to choose the best code to be played at a given stage of the game. The comparison with existing algorithms provides interesting conclusions regarding the performance of the algorithms and how to improve it in the future. However, it is clear that Entropy is a better scoring strategy than Most Parts, at least for these sizes, being able to obtain better results, independently of the evolutionary algorithm.