The app is done as Android Basics: User Input project. So I made it project programmatically and will introduce You what I have done overall.
This app keeps score points in the game of chess. The screen is divided into two parts, every part consists of:
- Player name
TextViewthat displays the score using methodsdisplayForPlayer1anddisplayForPlayer2- Three buttons:
Victorybutton which increasing the score for victorious player by 1 pointLossbutton which leaves score of game unchanged, according to the rules of the game of chessDrawbutton which button which increasing the score for each player by 0.5 pointResetbutton which resets the score for both players back to 0
