I am using
randomNumber = randInt(max) + 1; as my "call" function I think.
--- Update ---
This is what I had originally:
public static int randInt(int max)
Type: Posts; User: kjdeutin
I am using
randomNumber = randInt(max) + 1; as my "call" function I think.
--- Update ---
This is what I had originally:
public static int randInt(int max)
I think I may just be confused as to where I put that. I'm sorry but I'm really bad with understanding just basic things right now. I think I understand what you're saying, I'm just having a hard...
Thanks. I'm really new to Java so it might be hard for me to understand some of the things you mention.
This is how I think I used this argument to call it:
randomNumber = randInt(max + 1);...
I don't think that it will return the maximum value. For example if I use 10, it will never return 10.
So I am trying to come up with a game that has three levels, easy, medium, and hard as well as a custom. The problem I have is creating a random integer that allows there to be a minimum of 1 and a...