Giter Site home page Giter Site logo

dice_game_coursera's Introduction

Dice_Game_Coursera

Note: This is an assignment of "Build Your First Android App (Project-Centered Course)" course on Coursera

Dice Game

Dice App is basically a fun app developed by me to consolidated all the past topics covered till now in this course.

  • You can generate a random number on screen by tapping GENERATE button.
  • You can display that number as a toast by tapping TOAST button.
  • You can pass the number to next screen and display that number there by tapping NEXT SCREEN button
  • From next screen you can navigate back to main screen by tapping PREVIOUS SCREEN button.

In this app, there are two activities:

  1. MainActivity:
  • 1 Image view to display dice image
  • 3 buttons:
    • Generate button: to generate random nos between 1-6 and change the image of imageview accordingly.
    • Toast button: to display a toast which contains the current displayed number on dice.
    • NextScreen button: to navigate to new activity
  1. NextActivity:
  • 1 TextView : to display number present on dice image in previous screen
  • 1 button: to navigate back to previous activity

Components used are:

  • button which triggers an action when clicked
  • display a pop-up message ("toast")
  • use at least 2 layouts (vertical or horizontal LinearLayout, or RelativeLayout)
  • display an image
  • composed of at least 2 linked activities
  • pass information from one activity to the next

Screenshots:

Screen 1 Screen 2 Screen 3

Apk link (debug-apk)

https://github.com/seemantshekhar43/Dice_Game_Coursera/blob/master/apk/app-debug.apk?raw=true

dice_game_coursera's People

Contributors

seemantshekhar43 avatar

Watchers

 avatar  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.