reset password
Author Message
smoon2
Posts: 9
Posted 20:40 Sep 19, 2019 |

We are not allowed to change the minimax function parameters, is that right?

 

as in, minimax(self, board: str) should only accept board as the argument?

Are we allowed to create helper functions in addition to minimax?

rabbott
Posts: 1649
Posted 23:58 Sep 19, 2019 |

You can create helper functions, but each of the Player types should accept the same parameters for their _makeAMove function. You can have _makeAMove call minimax however you want.