diff --git a/HangmanFx/src/application/Main.java b/HangmanFx/src/application/Main.java index 09a2d6d..d5d25ce 100644 --- a/HangmanFx/src/application/Main.java +++ b/HangmanFx/src/application/Main.java @@ -59,7 +59,7 @@ public class Main extends Application { private void handleButtonAction(ActionEvent event) { } - // Game + // G A M E public void initialize(URL url, ResourceBundle rb) { label = progress; @@ -170,9 +170,9 @@ public class Main extends Application { // Returns the difficult wordlist public InputStream difficult() { - String easy = "/wordeasy.txt"; - String medium = "/wordmedium.txt"; - String hard = "/wordhard.txt"; + String easy = "/wordlists/wordeasy.txt"; + String medium = "/wordlists/wordmedium.txt"; + String hard = "/wordlists/wordhard.txt"; InputStream in = null; diff --git a/HangmanFx/src/wordeasy.txt b/HangmanFx/src/wordlists/wordeasy.txt similarity index 100% rename from HangmanFx/src/wordeasy.txt rename to HangmanFx/src/wordlists/wordeasy.txt diff --git a/HangmanFx/src/wordhard.txt b/HangmanFx/src/wordlists/wordhard.txt similarity index 100% rename from HangmanFx/src/wordhard.txt rename to HangmanFx/src/wordlists/wordhard.txt diff --git a/HangmanFx/src/wordmedium.txt b/HangmanFx/src/wordlists/wordmedium.txt similarity index 100% rename from HangmanFx/src/wordmedium.txt rename to HangmanFx/src/wordlists/wordmedium.txt