This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
i dont like how the code tag makes the text small....i think i found the problem while ((rolls != 0) || (dice != 0)); should be while ((rolls != 0) && (dice != 0)); ill try it when i get home, i shouldnt write code at 2 AM ............. actually it is hard to read without the indentation, i will use code tag next time [ May 14, 2003: Message edited by: Randall Twede ]
greg, that was part of the problem. i also got rid of the rolls variable in the Player class. i should have been suspicious when the call to the function returned the value of Player.rolls and asssigned it to the rolls variable of the calling class. there were a few other minor problems to iron out as well.