Jump to content

Uno (Card Game)/Julia: Difference between revisions

m
Line 158:
nextplayer!(game); nextplayer!(game); nextplayer!(game); # prior player
game.colornow = game.lastcolor
indices = playableindices(game)
hand = game.players[game.pnow].hand
if any(ic -> color(hand[i]c) !== "Wild"game.colornow, playableindices(game)hand)
logline("Challenge sustained! Challenged Draw Four player draws 4.")
drawcardsfromdeck!(game, 2); drawcardsfromdeck!(game, 2)
4,105

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.