diff --git a/recherche_mot.java b/word_search.java similarity index 81% rename from recherche_mot.java rename to word_search.java index 666107f..e1582ad 100644 --- a/recherche_mot.java +++ b/word_search.java @@ -1,6 +1,6 @@ import java.util.*; -public class recherche_mot { +public class word_search { //Liste des mots private static String[] WORDS = { "Singe", "Google", "Frapper", "Haine", "Dio", "Java", @@ -11,9 +11,9 @@ public class recherche_mot { //Permet de random Random random = new Random(); //Prends le mot aléatoirement - String motrandom = WORDS[random.nextInt(WORDS.length)]; + String randomword = WORDS[random.nextInt(WORDS.length)]; // Affiche l'mot - System.out.println("Mot qu'on prend d'facon random : " + motrandom); + System.out.println("Mot qu'on prend d'facon random : " + randomword); } }