So far in CardConquest, when a player plays a card in a battle, that card is discarded after the battle. The player only has five cards, though, so they quickly run out of them as they play. The player also has to play a card in a battle. So, what happens after the player plays all five of their cards? Well, it’s pretty simple, actually: the discard pile will be put back into their hand and it starts over.
All posts in May 2021
CardConquest Unity Multiplayer GameDev Blog #22: Retreating Units
the actual “Retreat Units” phase will be created. This will detect when a player or players need to retreat their units, enforce where they can retreat, and then move onto the next battle. If there are no more battles, to fight, the game will return to the Unit Movement phase.
CardConquest Unity Multiplayer GameDev Blog #21: The Results of the Battle
It’s time to display those results to the players. I will want to do the following: 1.) Determine how many, if any units will be destroyed in the battle, 2.) Display the battle results to the players, and 3.) When the “Battle Results” turn ends, discard player cards and destroy units that were lost