Court Counter 2
Court Counter 2

Court counter

Court counter is a Simple application for counting scores in basketball. The screen is divided in 2 parts (teams), which contains three buttons for each team. When one team scores a basket, the user clicks on the button corresponding to the number of marked points.

The purpose of this application is updating TextView items based on buttons interactions.

  • If the user clicks on the « +3 points » button : the score is incremented of 3 points
  • If the user clicks on the « +2 points » button : the score is incremented of 2 points
  • If the user clicks on the « Free throw » button : the score is incremented of 1 point

Some styles are added to the buttons and the action bar.

Whole code available on my Github.

A good improvement, would be to let the user choose between many sports in a menu. I’ll do this evolution when I learn how to make multi-screens apps.

Here is some screens of the app.

Laisser un commentaire

Ce site utilise Akismet pour réduire les indésirables. En savoir plus sur comment les données de vos commentaires sont utilisées.