Just finished the Winamax Challenge, and I got some difficulties understanding the explanation about in which order the algorithm should consider the cards in the deck. First,
Cards are placed face down on top of each deck.
This led me to thinking that at game initialisation, the first card given should be at the bottom and the last at the top (give first card to player, they place it face down on to of their deck, then give second card, they place it on top of first card, an so on…).
for a “war”, all the cards from the first player then all the cards from the second player –
But it doesn’t tell anything about the order of how “all the cards” are to be considered. The given example answers somewhat the question but it is not that easy to grasp…
BTW, big up to the Team, thanks for the great work!