ok..so i had to write a program, a gama called pig...ect,
so far ive encountered 2 problems, one of them being working with buttons
i need to have 2 buttons, before every roll of the dice, user has to specify if he wants to roll, or not. (using buttons 'yes' and 'no')
how would i go about making yes button start the loop(in which the dice are rolled)
another question. after rolling dice, and counting points together, and storing them in a variable, lets say,.... userPoints. i need to be able to access userPoints from a different class (class is called user), how do i do that?
user class is only used for outputting users points.
HELP