Game based on genetic algorithm