multiplayer iseu

in multiplayer with a friend after a turn a player draws the game ends and says "the player has no more cards" and i won i cant figure the problem wat iam doing wrong?
High Quality Resources for Collectible Card Games
https://www.slightlymagic.net/forum/
https://www.slightlymagic.net/forum/viewtopic.php?f=55&t=5183