In a game of 2 players, there are 2 piles of cards.
In every turn, a player has to discard one pile and divide the other into two equal parts (as close as possible). The game ends when a player is not able to make a move. (That is discard and split)
What can be the optimal strategy for this game if the starting pile has m and n cards.
p1-> discard 4, split 5 (2,3)
p2->discard 3, split 2 (1,1)
p1 cannot move, p2 wins