Skip to content
Snippets Groups Projects
Commit 3935168a authored by Benoît Harrault's avatar Benoît Harrault
Browse files

Merge branch '4-allow-more-attemps' into 'master'

Resolve "Allow more attemps"

Closes #4

See merge request !2
parents e974d751 2f5c063e
No related branches found
No related tags found
1 merge request!2Resolve "Allow more attemps"
Pipeline #679 failed
assets/images/img1.png

11.4 KiB | W: | H:

assets/images/img1.png

12.4 KiB | W: | H:

assets/images/img1.png
assets/images/img1.png
assets/images/img1.png
assets/images/img1.png
  • 2-up
  • Swipe
  • Onion skin
assets/images/img2.png

12.4 KiB | W: | H:

assets/images/img2.png

14.2 KiB | W: | H:

assets/images/img2.png
assets/images/img2.png
assets/images/img2.png
assets/images/img2.png
  • 2-up
  • Swipe
  • Onion skin
assets/images/img3.png

13.7 KiB | W: | H:

assets/images/img3.png

11.4 KiB | W: | H:

assets/images/img3.png
assets/images/img3.png
assets/images/img3.png
assets/images/img3.png
  • 2-up
  • Swipe
  • Onion skin
assets/images/img4.png

14.1 KiB | W: | H:

assets/images/img4.png

12.4 KiB | W: | H:

assets/images/img4.png
assets/images/img4.png
assets/images/img4.png
assets/images/img4.png
  • 2-up
  • Swipe
  • Onion skin
assets/images/img5.png

14.5 KiB | W: | H:

assets/images/img5.png

13.7 KiB | W: | H:

assets/images/img5.png
assets/images/img5.png
assets/images/img5.png
assets/images/img5.png
  • 2-up
  • Swipe
  • Onion skin
assets/images/img6.png

15.9 KiB | W: | H:

assets/images/img6.png

14.1 KiB | W: | H:

assets/images/img6.png
assets/images/img6.png
assets/images/img6.png
assets/images/img6.png
  • 2-up
  • Swipe
  • Onion skin
assets/images/img7.png

16.6 KiB | W: | H:

assets/images/img7.png

14.5 KiB | W: | H:

assets/images/img7.png
assets/images/img7.png
assets/images/img7.png
assets/images/img7.png
  • 2-up
  • Swipe
  • Onion skin
assets/images/img8.png

15.9 KiB

assets/images/img9.png

16.6 KiB

...@@ -114,7 +114,7 @@ class ImgGallow extends StatelessWidget { ...@@ -114,7 +114,7 @@ class ImgGallow extends StatelessWidget {
Data _myProvider = Provider.of<Data>(context); Data _myProvider = Provider.of<Data>(context);
return Stack( return Stack(
children: [ children: [
for (int error = 0; error < 7; error++) for (int error = 0; error < 9; error++)
AnimatedOpacity( AnimatedOpacity(
opacity: _myProvider.errors >= error ? 1.0 : 0.0, opacity: _myProvider.errors >= error ? 1.0 : 0.0,
duration: Duration(milliseconds: _myProvider.errors >= error ? 800 : 0), duration: Duration(milliseconds: _myProvider.errors >= error ? 800 : 0),
......
...@@ -59,7 +59,7 @@ class LetterButtons extends StatelessWidget { ...@@ -59,7 +59,7 @@ class LetterButtons extends StatelessWidget {
} }
} else { } else {
_myProvider.addError(); _myProvider.addError();
if (_myProvider.errors == 6) { if (_myProvider.errors == 8) {
if (_myProvider.soundValue == true) { if (_myProvider.soundValue == true) {
await sound.play(Archive.error.file); await sound.play(Archive.error.file);
await Future.delayed(Duration(seconds: 1)); await Future.delayed(Duration(seconds: 1));
......
...@@ -3,7 +3,7 @@ description: Hangman game, have fun with words and letters! ...@@ -3,7 +3,7 @@ description: Hangman game, have fun with words and letters!
publish_to: 'none' # Remove this line if you wish to publish to pub.dev publish_to: 'none' # Remove this line if you wish to publish to pub.dev
version: 1.0.1 version: 1.1.0
environment: environment:
sdk: ">=2.7.0 <3.0.0" sdk: ">=2.7.0 <3.0.0"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment