An attempt to make an AI use a genetic algorithm. Based on my Roguelike project