# Search:

Type: Posts; User: kjdeutin

1. ## Thread: Repeating a game

by kjdeutin
Replies
3
Views
515

### Re: Repeating a game

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.
2. ## Thread: Repeating a game

by kjdeutin
Replies
3
Views
515

### Repeating a game

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...
3. ## Thread: Creating a Secret Numbers game, need help with random number max and min.

by kjdeutin
Replies
8
Views
963

### Re: Creating a Secret Numbers game, need help with random number max and min.

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)
4. ## Thread: Creating a Secret Numbers game, need help with random number max and min.

by kjdeutin
Replies
8
Views
963

### Re: Creating a Secret Numbers game, need help with random number max and min.

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...
5. ## Thread: Creating a Secret Numbers game, need help with random number max and min.

by kjdeutin
Replies
8
Views
963

### Re: Creating a Secret Numbers game, need help with random number max and min.

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);...
6. ## Thread: Creating a Secret Numbers game, need help with random number max and min.

by kjdeutin
Replies
8
Views
963

### Re: Creating a Secret Numbers game, need help with random number max and min.

I don't think that it will return the maximum value. For example if I use 10, it will never return 10.
7. ## Thread: Creating a Secret Numbers game, need help with random number max and min.

by kjdeutin
Replies
8
Views
963

### Creating a Secret Numbers game, need help with random number max and min.

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...
Results 1 to 7 of 7