SHARE
TWEET

seberm

seberm Jan 17th, 2010 23 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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);
RAW Paste Data
Want to get better at Java?
Learn to code Java in 2017
Top