Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Using learned parameters in server code
  • Loading branch information
sas12028 committed Apr 27, 2017
1 parent fa6f5b9 commit f04e191
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/RmCheckersClient.java
Expand Up @@ -53,7 +53,8 @@ public class RmCheckersClient {

public RmCheckersClient(){
_socket = openSocket();
e = new Evaluator00();
//e = new Evaluator00();
e = new BaseEvaluator("weights/beta.csv");
currentState = new CheckersGameState3();
user = _user1;
password = _password1;
Expand All @@ -62,7 +63,7 @@ public class RmCheckersClient {

public RmCheckersClient(int player, String opponent){
_socket = openSocket();
e = new Evaluator00();
e = new BaseEvaluator("weights/beta.csv");
currentState = new CheckersGameState3();
user = player==1 ? _user1 : _user2;
password = player==1 ? _password1 : _password2;
Expand Down

0 comments on commit f04e191

Please sign in to comment.