Skip to content
Snippets Groups Projects
Commit e94bdc9b authored by Joel Cavat's avatar Joel Cavat
Browse files

Update Hangman mission

parent 2e28f993
Branches
No related tags found
No related merge requests found
...@@ -314,6 +314,38 @@ if( h.hasWon() ) { ...@@ -314,6 +314,38 @@ if( h.hasWon() ) {
} }
``` ```
Réalisez ensuite le jeu complet dans une méthode `runGame()`. Exemple d'utilisation:
```java
Entrez une lettre: m
Current word: m______
Entrez une lettre: t
Current word: m__t___
Entrez une lettre: r
Current word: m__t_r_
Entrez une lettre: u
Current word: m__t_r_
**********************
Erreur(s): 1
---------
|/
|
|
|
|
|
|
Entrez une lettre: y
Current word: my_t_r_
Entrez une lettre: s
Current word: myst_r_
Entrez une lettre: e
Current word: mystere
finished
Congrats
```
## Fonctionnalités à réaliser sur les structures ## Fonctionnalités à réaliser sur les structures
- `IntBinaryHeap` et `ArayIntBinaryHeap` doivent être itérables - `IntBinaryHeap` et `ArayIntBinaryHeap` doivent être itérables
...@@ -321,4 +353,3 @@ if( h.hasWon() ) { ...@@ -321,4 +353,3 @@ if( h.hasWon() ) {
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment