Fixed, I think! :)
import java.util.Scanner;
public class rockPaperSci {
/**
* @param args
Type: Posts; User: chrisob
Fixed, I think! :)
import java.util.Scanner;
public class rockPaperSci {
/**
* @param args
Will do. It'll wait until later when I don't have a 3 year old trying to hang off me! :)
Shall report back. This won't beat me! :)
Actually, you are right. It's only exiting when both are 3. I thought that it should exit when either of the variables hit 3, whichever one, it doesn't matter.
My idea was
Do
{
< code >
Yup, it definitely exits. Unless I'm being stupid, I thought that || meant OR so that the loop would continue while totalCompWin is less than 3 OR totalUserWin is less than 3. Once either hits 3, the...
It's probably something stupid, but I just can't see it as the same idea is working in the same code. Basically, it's a Rock, Paper, Scissors games - it ends when either the computer or user gets to...