Task 11 Linking progress for now.
NOTE: Yeah idk if this is correct or not, but that's it for now Signed-off-by: Immanuel Alvaro Bhirawa <u7280427@anu.edu.au>
This commit is contained in:
@@ -508,9 +508,11 @@ public class BlueLagoon {
|
||||
public static int[] calculateIslandLinksScore(String stateString){
|
||||
State state = new State(stateString);
|
||||
int[] scores = new int[state.getNumPlayers()];
|
||||
|
||||
for (int i = 0; i < state.getNumPlayers(); i++) {
|
||||
scores[i] = state.scoreLinks(i);
|
||||
}
|
||||
|
||||
return scores;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user