Strategies battle¶
It ‘s possible to launch two games with given strategies. To see them compete in a terminal, write the following line in a python shell :
Game2048.versus(strategy1='random', strategy2='random', skip=False, speed=0.5)
New data comparison¶
You can generate a new data set of strategies mean score and max cell, and compare them with the original one. To do so, execute the python script statsmaker.py located in the Stats sub-module of Game2048.