// Totally untested, just some initla code to get started. 

package guessing_game;

public class Player {
	private String name; 
	private int lowGuess = 0;
	private int highGuess = 1000;
	private int lastGuess = (int) Math.random() * 1000;
	private int numGuesses = 0;
	
	public void setName(String str) {
		name = str;
	}
	
	public String getName() {
		return name ;
	}
	
	public int getGuess() {
		return lastGuess ;
	}
	
	public void setGuess(String highLow) {
		int high;
		int low;
		
		if (highLow == "high"){
		    high = lastGuess;
		    low = lowGuess;		
		} else {
			high = highGuess;
		    low = lastGuess;
		}
		lastGuess = (int)((high - low) / 2);		
	}

	public int getNumGuesses() {
		return numGuesses ;
	}
	
	public void setNumGuesses() {
		numGuesses += 1;
	}

}

@@ -150,20 +150,16 @@
 lowGuess
- = 0
 ;%0D%0A%09priv
@@ -179,15 +179,8 @@
 uess
- = 1000
 ;%0D%0A%09
@@ -191,16 +191,167 @@
 ate int 
+lastGuess;%0D%0A%09private int numGuesses;%0D%0A%09%0D%0A%09%0D%0A%09public Player(String name)%7B%0D%0A%09%09this.name = name; %0D%0A%09%09this.lowGuess = 0;%0D%0A%09%09this.highGuess = 1000;%0D%0A%09%09this.
 lastGues
@@ -360,16 +360,17 @@
 = (int) 
+(
 Math.ran
@@ -381,32 +381,27 @@
 ) * 1000
+)
 ;%0D%0A%09
-private int 
+%09this.
 numGuess
@@ -409,16 +409,25 @@
 s = 0;%0D%0A
+%09%09%09%0D%0A%09%7D%0D%0A
 %09%0D%0A%09publ

Add constructor