From 1ee0bce1e4d2f549ad246678a42f533cc04cdb9a Mon Sep 17 00:00:00 2001 From: aah13002 Date: Fri, 29 Apr 2016 03:13:15 -0400 Subject: [PATCH 1/2] removed king print debug --- src/view/Square.java | 1 - 1 file changed, 1 deletion(-) diff --git a/src/view/Square.java b/src/view/Square.java index d4d2e3e..d5be2ec 100644 --- a/src/view/Square.java +++ b/src/view/Square.java @@ -117,7 +117,6 @@ public boolean hasPiece() { } public void promotePiece() { - System.out.println("Kinged"); this.king = true; } From df1a908c591fc58a85c564c788ed66c37ab0c5f9 Mon Sep 17 00:00:00 2001 From: aah13002 Date: Fri, 29 Apr 2016 03:16:05 -0400 Subject: [PATCH 2/2] made instructions look like html format :D --- src/view/GameEventListener.java | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/view/GameEventListener.java b/src/view/GameEventListener.java index 02141eb..6c67ce9 100644 --- a/src/view/GameEventListener.java +++ b/src/view/GameEventListener.java @@ -78,8 +78,15 @@ public void actionPerformed(ActionEvent e) { System.exit(0); } else if (e.getActionCommand().equals("Instructions")) { // TODO: Create an instructions dialog box, this is just for testing - JOptionPane.showMessageDialog(null, "
  1. instr 1
  2. " - + "
", "Instructions", JOptionPane.INFORMATION_MESSAGE); + String instructions = "" + + "" + + "
    " + + "
  1. Click the piece you want to move.
  2. " + + "
  3. Click the place you want to move to.
  4. " + + "
  5. Try not to lose.
  6. " + + "
" + + ""; + JOptionPane.showMessageDialog(null, instructions, "Instructions", JOptionPane.INFORMATION_MESSAGE); } } }