bobtcowboy
02-03-2002, 12:41 AM
Any ideas as to why this isn't looping?
(those functions are listed in the rest of the file, which I snipped for brevity
public static void main (String[] args)
{
for (int counter = 0; counter <= 3; counter++)
{ while ((p1 != r) && (p2 != r))
{ flipper();
coinFlip();
heads();
tails();
gameStatus();
}
}
}
(those functions are listed in the rest of the file, which I snipped for brevity
public static void main (String[] args)
{
for (int counter = 0; counter <= 3; counter++)
{ while ((p1 != r) && (p2 != r))
{ flipper();
coinFlip();
heads();
tails();
gameStatus();
}
}
}