- Implemented multiple users, including a selection dialog and automatic preference saving and loading.
- Integrated the ANN with the game. The network now predicts a user move, completely ignores it, and trains itself on the players actual move. This integration also included implementing two new functions. The first translates a board state to a boolean array to correspond with input nodes. The second translates a move to a boolean array to correspond with output nodes.
This commit is contained in:
@@ -14,7 +14,7 @@ import model.playerModel.PlayerModel;
|
||||
public class Tests extends TestCase {
|
||||
|
||||
public static PlayerModel getFakePlayerModel() {
|
||||
PlayerModel pm = new PlayerModel();
|
||||
PlayerModel pm = new PlayerModel("marshall");
|
||||
|
||||
pm.logGame(25);
|
||||
pm.logGame(30);
|
||||
|
||||
Reference in New Issue
Block a user