Giter Site home page Giter Site logo

diceroller's Introduction

CSE 234 - Mobile Programming

Akdeniz University, Computer Engineering Department, 2021-2022 Spring

Lab02 Assignment

Deadline: March 6, 2022, 23:59

Description

You are expected to make another Dice Roller application. Based on the exercise we make in Lab02 lecture, you should add another dice to the app, so that one Roll button gives 2 dice results.

Applications sample layout should be as in the figure below.

Sample Layout

Sample Layout

You should do followings;

  • Use a button
  • Use two ImageView's
  • Use provided dice images: Link
  • Update 'MainActivity.kt' code that rolles 2 different dices on the event of the click event of the button.

PS: You will upload your project to a Gitlab. The instructions are given below.

GitLab Guideline

  1. CREATE Gitlab Account: Create a GitLab account if you don't have one.
  2. `FORK PROJECT: Fork the project as public Project Link.
  3. ANDROID STUDIO - ENABLE VCS: On Android Studio, Click VCS->Enable Version Control Integration. Select "Git" and click "OK". Now you can see your forked repository in your profile.
  4. On Android Studio, change Project view from "Android" to "Project"
  5. ANDROID STUDIO - ADD REMOTE: On Android Studio, Click Git->Manage Remotes. Then click "+" button then paste your forked repository URL. You can find the HTTP URL of your repository by clicking Clone button.
  6. ANDROID STUDIO - ADD FETCH: On Android Studio, click Git->Fetch.
  7. tip: ANDROID STUDIO - CREATE MAIN BRANCH: Then on the bottom right sight of the Android Studio, click "master" branch, then click "New Branch". Then create a branch with a name of "main".
  8. ANDROID STUDIO - PULL REPO TO CURRENT BRANCH: On Android Studio, click Git->Pull. Then select git pull - origin - main. And click Pull.
  9. Complete your Project.
  10. ANDROID STUDIO - COMMIT AND PUSH: On Android Studio, click Git->Commit. New box will open on the left side of IDE. Check the checkbox "Unversioned Files" (Check every file). Below, write a commit massage that describes your changes such as "Second dice is implemented" or "First commit". Then click "Commit and Push" button.
  11. If you make any changes on your project later you can commit and push the project again.
  12. GITLAB - CREATE MERGE REQUEST - If you want to turn in your project open the project on Gitlab. Click "Merge Request" on the left panel. Click "New Merge Request". Then select your main branch as source branch. Then click "Compare branches and continue".
  13. In new merge request screen, request title should be StudentNo_NameLastname. Ex: 202051075001_Erdinc_Turk, Description should be "Lab02 Assignment", and keep the other options as it is.

diceroller's People

Watchers

Ali Çolak 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.