Skip to content

In this project, using Flutter and Dart to create a Dice Rolling App with a simple game.

Notifications You must be signed in to change notification settings

rogerchang1108/Dice-Rolling-App-with-Flutter

Repository files navigation

Dice Rolling App

In this project, using Flutter and Dart to create a Dice Rolling App with a simple game.

Features

  1. Display the score of each dice roll in this round (display "--" if not completed), and show how many dice have been rolled in the current five opportunities, along with the current total score (for example, Your score: 8/20).

    component

  2. A progress bar is displayed to track the distance to the 20-points goal.

    component

  3. Modify the dice roll button to display "Play again" at the end of each round to start the next round.

  4. Upon completion (score >= 20), the background will change to a green gradient, and a congratulations message will be displayed (e.g., 'You win').

    component

  5. Conversely, if not completed (score < 20), the background will change to a red gradient, and a failure message will be displayed (e.g., 'You lose').

    component

Resources

A few introductory tutorials designed to help learn layout:

About

In this project, using Flutter and Dart to create a Dice Rolling App with a simple game.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published