Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //GamblingComputer.java
- public class GamblingComputer extends intelPlayer
- {
- public GamblingComputer()
- {
- super();
- }
- public int guessNumber()
- {
- int num=(int)((Math.random()*(rangeTop-rangeBottom+1))+rangeBottom);
- return num;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement