From d0b89a4d86c0e31cfd97bc579e0c3d3c0f27e7cd Mon Sep 17 00:00:00 2001 From: blues Date: Mon, 3 Aug 2020 15:47:16 +0200 Subject: [PATCH] 03.08.2020 --- HangmanFx/src/application/Main.java | 8 ++++---- HangmanFx/src/{ => wordlists}/wordeasy.txt | 0 HangmanFx/src/{ => wordlists}/wordhard.txt | 0 HangmanFx/src/{ => wordlists}/wordmedium.txt | 0 4 files changed, 4 insertions(+), 4 deletions(-) rename HangmanFx/src/{ => wordlists}/wordeasy.txt (100%) rename HangmanFx/src/{ => wordlists}/wordhard.txt (100%) rename HangmanFx/src/{ => wordlists}/wordmedium.txt (100%) 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