Skip to content
Snippets Groups Projects
Commit 60c102e7 authored by dsjohns2's avatar dsjohns2
Browse files

final

parent 45f4b033
No related branches found
No related tags found
No related merge requests found
......@@ -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) {
......
......@@ -8,5 +8,7 @@ public class ControllerTest {
@Test
public void init() {
Controller control = new Controller();
control.init();
}
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment