From 76eda5920fbd8404d7b3978172afb59a3b53f43a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Heredero?= Date: Fri, 19 Nov 2021 13:45:51 +0100 Subject: [PATCH] master --- bin/lab6/HangMan.class | Bin 2564 -> 4322 bytes src/lab6/HangMan.java | 19 ------------------- 2 files changed, 19 deletions(-) diff --git a/bin/lab6/HangMan.class b/bin/lab6/HangMan.class index 6249e42cf8fb8b2e70d1eb9c999bc936b3cd1e9f..19f6c16c688c3694fc4b20cc72192e11f4969095 100644 GIT binary patch delta 2330 zcmbVN`F9gl6#ibCWYXy%A+)7|9;`@dYfHm&KqZLUBG6;X)=Dh}bec@)(CJK^Ok3g> z7gXGEi3GUTO~y`XuO|R_p*azFAs^5?`)l;JybJ~+#Sp=4m`+Q;?XtP&8WTXeN>z2upL23QYF* z45oXDIu=nO{-hD$G-16&N{XA(WoALTe4pkQl_jDsi_MBu9|=kI=7AxdO{as+JaYzT zd0A|dwRF~70^T-D8YYHY>ml;#Mash z2@q$MrWr(4F;puVEm|PV<7<4&;TvN9;9SaTht?{2e2JiBCsu+ba#X3{MmA|EEmeIkaz-3Qj~$=X&bi zYEe<@WJB@}x8ta}b20`ZHIGjGXm;*r0iWXt86I=u2!l|gs*+x0DT2e}Y%Hilsu9I<6~rPv7z zM#4ez5y+!2pR@%y7j9HwG%8VusVLg|yFmQx8U zXp>z99aj@Tz&rwu3L&5>=x?5Ok{2VNaoB|}>VT8H;t2L2i-Omqmr}M;cph^|ZKGgz z>_#7HUnh5gT$5IN$f|}UCCKWhjBFejM=vJ_m7~`Ux&4H_B_$+HH}POE-iQ@t=g;5g zE8mH+alBccwF~a@IJ{foBz#QiPSg<~B-`JGVM((CUH!*h@AYExMTO4D=KceP&c@CC z`&{q$;u32wK8UT!_C-ITTtQS?fKRDVM*YsiXP8UnnK|ab`ZpYuj7xAjd2=Ml#C%hW z>2IQK8@&h7ZaP>JfZG#7mH^N~(kx<!=IP0fgbM8 zYXQZoIRe84os%>RT&dEDgn6WBmXrD7NFyai9h3#e@zhuGG@T0MqMRd^05*bVB#%IkqGs`=%u>zF<&8)=3DoKNM(j`OsB20wH zGq3(o9O}WrI$0EzU_HZZAWt8YY-E}(+-EBf*v4bFGfzKn*~xo$@tNIxVSpd(<0t!t zjRV3%QnYbU1Q`+`q9V#+%iR=7HH>v~S)(r`7OUcHazd!SVU;qFB diff --git a/src/lab6/HangMan.java b/src/lab6/HangMan.java index ae4a1eb..8eee902 100644 --- a/src/lab6/HangMan.java +++ b/src/lab6/HangMan.java @@ -5,25 +5,6 @@ import java.io.BufferedReader; import java.io.FileReader; import java.util.ArrayList; -/*public String[] loadList(String filePath) { - String[] wordList; - try { - BufferedReader bf = new BufferedReader(new FileReader(filePath)); - ArrayList < String > al = new ArrayList < String > (); - while (bf.ready()) { - String[] c = bf.readLine().split(";"); - al.add(c[0]); - } - wordList = al.stream().toArray(String[]::new); - System.out.println("[Dictionary loaded with " + wordList.length + " words]"); - bf.close(); - return wordList; - } catch(Exception e) { - e.printStackTrace(); - return null; - } -}*/ - public class HangMan { final int MAX_STEPS = 8; final int scale = 2;