Go Fish/Unicon: Difference between revisions

m
improve draw a card message, fix bug in PlayerFishes where stuck if no cards left
m (removed icon+unicon header (double counting))
m (improve draw a card message, fix bug in PlayerFishes where stuck if no cards left)
Line 56:
if *opponent.hand = 0 then DrawCard(opponent)# hand empty ?
ifbook(player) # made a book ?
returnif *player.hand > 0 then return # signal success if cards # signal successleft
}
else {
printf("No, %s has no %s's - drawing%s draws a card\n",opponent.name,r,player.name)
DrawCard(player) # draw from deck
ifbook(player) # made a book ?
Anonymous user