GithubHelp home page GithubHelp logo

cursors-intro-lesson's Introduction

Homework Advanced Cursors: Legends of the Hidden Temple

Introduction

You have decided to create an app celebrating the 20th anniversary of Legends of the Hidden Temple. Unfortunately, your friends quit halfway through working on the database and you have to pick up where he left off.

Requirements:

All you need to do is add the following functionality to the app so we can ship it:

  • Make sure that game scores aren't added to a game already in the database (in table games, column game).
  • Add a button to reset the database so we can add new things if we want.
  • Populate the mostGamesWon textview in StatsActivity.
  • Populate the longestLosingStreak textview in StatsActivity (This is the hardest. Save for last).

The places where the changes need to be made are marked as "TODO" in the code.

Bonus

  • Fix the bug when the submit button is clicked.
  • Add a checkbox if a team found the idol or not. Populate the idol column in the game table with this information. Remember that only one team can win the idol per game, so the idol can be found either 0 or 1 times per game. A team who finds the idol will automatically win the game (no matter how many points they have).
  • Add a listview so that a user can see the StatsActivity statistics for each team when the team is clicked.
  • Add material design graphics to make the design of the app "pop".

cursors-intro-lesson's People

Contributors

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