Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
According the rule number 3: "This doesn't effect the first move, only to subsequent."
If I am the starter and eat 3 cake at first the opponent can eat 3 cakes too.
I could not find a nice solution therefore I checked a solution and run some test
for example: there are 12 cakes:
Using [3,3,0,1][cakes % 4] rules for moving the starter is a winner but if i keep the rule the opponet should be a winner
If I eat 1 cake left 5 the opponent can eat 3 cakes left 2
I can eat 1 or 2. So I eat just 1 left 1. The opponent cannot eat 1 cake (using the rule number 3) therefore i have to eat again so I lost a game.
Maybe I misunderstand the rules or there is a mistake in my workflow.
Could you explain what is wrong ?
Thanks