seberm

seberm

Jan 17th, 2010
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.36 KB | None | 0 0
  1.         if (pc.getCardsSum() <= 21 && usr.getCardsSum() > 21)
  2.                win(pc, usr, false);
  3.            else if (pc.getCardsSum() > 21 && usr.getCardsSum() <= 21)
  4.                win(usr, pc, false);
  5.            else if (usr.getCardsSum() > pc.getCardsSum())
  6.                win(usr, pc, false);
  7.            else if (pc.getCardsSum() > usr.getCardsSum())
  8.                win(pc, usr,false);
  9.            else win(pc, usr, true);
Add Comment
Please, Sign In to add comment