Skip to content

kevingcm/dadoos

Repository files navigation

Dadoos

A simple, playful dice rolling app built with Flutter. Tap a die or the button to tumble two dice with a quick shake-and-settle animation.

Dadoos preview

Live demo: https://kevingcm.github.io/dadoos/ (auto-deployed from master)

Features

  • Two-dice roll with a damped shake animation (AnimationController)
  • Custom Material theme centered on a soft pink palette
  • Google Fonts (Jersey 10) typography
  • Splash screen via flutter_native_splash
  • Runs on Android, iOS, Web, Windows, macOS, and Linux

Project Structure

lib/
├── main.dart            - Entry point
├── app.dart             - App configuration, theme, color palette
├── models/
│   └── dice.dart        - Dice logic (injectable Random for tests)
└── screens/
    └── home_screen.dart - Home screen UI + roll animation

test/
├── dice_test.dart        - Unit tests for the Dice model
└── home_screen_test.dart - Widget tests for HomeScreen

Getting Started

flutter pub get
flutter run

Tests

flutter test
flutter analyze

Deployment

Auto-deployed to GitHub Pages on every push to master via .github/workflows/deploy.yml.

To deploy manually:

flutter build web --release --base-href "/dadoos/"

The output lands in build/web/. Push that folder to a gh-pages branch, or drop it on Netlify for a one-off preview.

Built With

Author

Kevin Gabriel@kevingcm

License

MIT

About

A simple, playful dice rolling app built with Flutter. Runs on Android, iOS, web, and desktop.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors