From 3f8b4fe76724691dd3ace44b2082f66a927188bd Mon Sep 17 00:00:00 2001
From: "joel.cavat" <joel.cavat@hesge.ch>
Date: Thu, 14 Nov 2019 12:12:49 +0100
Subject: [PATCH] Update README.md

---
 README.md | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/README.md b/README.md
index 1243b2a..f064779 100644
--- a/README.md
+++ b/README.md
@@ -288,16 +288,16 @@ Hangman h = Hangman.withSecretWord("mystere");
 String currentWord = h.currentWord(); // currentWord = "_______";
 h = h.tryWith('h');
 int attempts = h.attempts(); // attempts = 1
-int failedAttempts = h.failedAttepts(); // attempts = 1
+int failedAttempts = h.failedAttempts(); // attempts = 1
 currentWord = h.currentWord(); // currentWord = "_______";
-h.printGallowsIfError(); // affiche la potence uniquement si le dernier essai est mauvais
+h.printGallowIfError(); // affiche la potence uniquement si le dernier essai est mauvais
 
 h = h.tryWith('s');
 attempts = h.attempts(); // attempts = 2
-failedAttempts = h.failedAttepts(); // attempts = 1
+failedAttempts = h.failedAttempts(); // attempts = 1
 currentWord = h.currentWord(); // currentWord = "____e_e";
-h.printGallowsIfError();
-h.printGallows(); // affiche la potence même si aucune erreur
+h.printGallowIfError();
+h.printGallow(); // affiche la potence même si aucune erreur
 
 // Utilisation finale
 while ( !h.isFinished() ) {
-- 
GitLab