From 60c102e750a0d0e3b467f217ce49aa6d2cf6798c Mon Sep 17 00:00:00 2001 From: Dan Johnson <dsjohns2@illinois.edu> Date: Tue, 20 Feb 2018 02:43:24 -0600 Subject: [PATCH] final --- Controller.java | 2 ++ ControllerTest.java | 2 ++ 2 files changed, 4 insertions(+) diff --git a/Controller.java b/Controller.java index 2d7e9ed..0e9a020 100755 --- a/Controller.java +++ b/Controller.java @@ -93,6 +93,7 @@ public class Controller extends Applet { @Override public void actionPerformed(ActionEvent e) { my_game.initialize_board(); + my_game.black_score += 1; try { my_view.update_view(my_game); } catch (IOException e1) { @@ -104,6 +105,7 @@ public class Controller extends Applet { @Override public void actionPerformed(ActionEvent e) { my_game.initialize_board(); + my_game.white_score += 1; try { my_view.update_view(my_game); } catch (IOException e1) { diff --git a/ControllerTest.java b/ControllerTest.java index e83feed..63b4e78 100755 --- a/ControllerTest.java +++ b/ControllerTest.java @@ -8,5 +8,7 @@ public class ControllerTest { @Test public void init() { + Controller control = new Controller(); + control.init(); } } \ No newline at end of file -- GitLab