So exactly how can I implement that? I'm really bad with repeating. Although it makes sense to me in some way, I'm not sure exactly how to use this.
Type: Posts; User: kjdeutin
So exactly how can I implement that? I'm really bad with repeating. Although it makes sense to me in some way, I'm not sure exactly how to use this.
I am looking to repeat this game, and I'm unsure as to how to go about it. Does anyone want to give me suggestions? I am unsure as to how to make the appropriate loop to do so.
import...
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...