Nim is a game for 2 players. In this version, there are 4 rows with
different amounts of coins:
Until the game is over, you and the AI take turns in removing
coins from the board. In each turn, you have to pick a row. From that row, you can remove
as many coins as you want - but at least 1!
Whoever takes the last coin on the board loses the game. Hence,
your goal is to force the AI to take the last coin.
In this state of the board, the winning move would be to remove both coins from
the second row. Then, all the AI can do is take the last remaining coin and lose.