// Make this player implement the Comparable Interface public class Player { protected int loc; protected String name; // Create a player given a name public Player(String name) { this.name = name; this.loc = 1; } // move up by the roll amount public int move (int roll) { this.loc = loc + roll; return this.loc; } public String toString() { return this.name + " is on loc " + this.loc; } // you will need to implement the compareTo interface // - sort by location then name ______________________________________________________ _______________________________________________________ ______________________________________________________ _______________________________________________________ ______________________________________________________ _______________________________________________________ ______________________________________________________ _______________________________________________________ }