The key to Nim is not to even out rows, but to make the XOR result (aka "Nim Sum") of the number of matchsticks in each row equal to zero. In this 4-5-6-7 configuration the Nim Sum is equal to zero.
This is not the only strategy. If you make it impossible for it to even out the amount of matchsticks in each row it will use different strategies. For example, at the start of the game, you can remove one red matchstick.
Analyzed deeper the bot and the game, I can say chances to win are none, because of the rows. 4 rows will always give bot chance to win. As for player, luck will never be on his side because they will always get move when there are even amount of matches on 2 rows. The strategy is to leave your opponent with only 4 matches with 2 on each row. Bot will never let you do that
Nvm about both. It was jacob1's mod sheningans. It's pretty interesting game, but the fact that bot always moves 2nd prevents you from changing places with it. So you'll always end up losing. It always tries to save 2 sticks on 2 rows, which is pretty clever move.
Nvm about 2nd one, it's jacob1's mod thing
And another win, yet I can't end because your bot decided to break itself. 2187727
ElectroBit: I supposedly could win, since I've got a situation, where bot have to remove last stick. 2187725 - id. The problem is that I have 2 sticks left on my turn and game believes that I lost.
This machine is more complicated than that. For example, at the beginning of the game, if you take one red matchstick, the machine will take three yellow matchsticks, leaving 3, 2, 6 and 7 matchsticks. It also is smart enough to turn the tables at the last second.
Seems to always make it's stack of choice match to the shorter stack, which pretty much guarantees a stalemate I think