This commit is contained in:
Rémi Heredero 2021-11-21 17:00:06 +01:00
parent a75f5e7640
commit 2ad8b34a6f
2 changed files with 3 additions and 0 deletions

Binary file not shown.

View File

@ -95,6 +95,9 @@ public class HangMan {
HangMan hang = new HangMan();
while (true) {
hang.word.askSecretWord();
hang.inputLetter = "Inputed letter: ";
hang.inputLetter1 = "";
hang.inputLetter2 = "";
hang.current_step = 0;
hang.updateGraphicsView();
while (hang.play() && !hang.word.isWordComplete()) {