Help with tests

So I am working on the RPS project in machine learning certification, the last one. I seem to have gotten good progress, but then i tried the tests… , so see I made 4 bots, one to counter each other bot, but the tests seem to require that there is 1 bot named player. So it seems like there are 3 things I could so:

  1. Ignore the tests (the 4 bots still win more then 60 percent of the games)
  2. Modify the tests to use all 4 bots, i can do that but dont know if it is ‘legal’
  3. Just rewrite the entire codebase to use 1 bot, can do that but it sucks to lose days of work

So obviously i prefer 1 or 2, so the question is, are they allowed

I think you can integrate your 4 counter bots into one player function. As the tests set to run player against the 4 bots in a fixed order, each one plays 1000 games, a crude way of course is to get player to call your 4 counter bots in corresponding order, each call 1000 times. A more advanced approach, which need much more work to do, is to identify which bot you are playing against from the pattern of play, and call the corresponding counter bot.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.