Write an app to help with scoring in Aussie Rules football.
Aussie Rules goal posts look like this:
When the ball is kicked between the tall posts in the center, a team get a goal, for six points. When the ball is kicked between one of the tall posts and one of the shorter posts on the outside, the team gets a behind, for one point.
Write a app that starts out like this:
When the user clicks a Goal button, six is added to the score. When the user clicks a Behind button, one is added to the score. For example, this could happen after a while:
Submit your app's URL.
(If you were logged in as a student, you could submit an exercise solution, and get some feedback.)
Keywords: