Git Product home page Git Product logo

ahsanalisk / lottery-app Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 2.01 MB

A Flutter app that simulates a lottery game. Displays a randomly generated number. If the number is 4, a congratulatory message is shown. The user can generate a new number by clicking the refresh button. The app also includes the rules of the game. The app's UI consists of a text message, an icon, and a container with a message.

Kotlin 1.72% Swift 5.44% Objective-C 0.51% Dart 67.74% HTML 24.59%

lottery-app's Introduction

Lottery_Application

This is a Flutter app that simulates a lottery game. When the app is launched, it displays a randomly generated lottery number to the user. If the number is 4, the app displays a congratulatory message, and if the number is not 4, the app displays a message encouraging the user to try again. The user can generate a new lottery number by clicking the refresh button. The app also includes an expansion tile with the rules of the game.

Features

  • Display a randomly generated lottery number.
  • Congratulatory message if the number is 4.
  • Encouragement to try again if the number is not 4.
  • Refresh button to generate a new lottery number.
  • Expansion tile with the rules of the game.

Screenshots

Lottery-app

Color Reference

Color Hex
Amethyst #8F69CD
White #FFFFFF
Black #000000

Getting Started

To run this app, you will need to have Flutter installed on your machine.

  1. Clone the repository
git clone https://github.com/ahsanalisk/Lottery_Application.git
  1. Go to the project directory
cd Lottery_Application
  1. Run the app
flutter run

Built With

  • Flutter - The mobile development framework used

Author

Ahsan Ali

๐Ÿ”— Social Links

linkedin

lottery-app's People

Contributors

ahsanalisk avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.