ludofiorio / labs_comp_inte

0 stars 0 forks source link

Review LAB 02 - NIM (by Andrea Pellegrino s309855) #2

Open andry2327 opened 10 months ago

andry2327 commented 10 months ago

Some minor problems:

It is a good idea to use as fitness measure the number of games won against an other fixed strategy like "eliminate_one_row".

The evolution strategy here is in adapting weights of strategies to choose: every strategy, at the beginning, has the same probability to be chosen, but it can be seen, as the game continues, it ends up in choosing the "optimal" strategy always (all other strategies ends up having a p=0 to be chosen) in the end. So the player is really adapting itself in using the best strategy possible as the game proceeds.