Due Date 13 of September 2015 Via Clouddeakin Dropbox: Sit 207 Android Programming Sub-Assignment 1: Ui Development (10%)
Due Date 13 of September 2015 Via Clouddeakin Dropbox: Sit 207 Android Programming Sub-Assignment 1: Ui Development (10%)
Fig. 1 Main
Fig. 3 Game
Fig. 6 Scorelist
Based on the app you have made for sub-assignment 1, achieve the following requirements: (10 marks):
1. Clicking on the New Game button, starts a new game for the user. The user is presented with three levels of
game difficulty, Easy, Medium, Hard, as shown in Figure 2. After selecting a difficulty, the game
interface will be appear as shown in Figure 3. This is a simple pinball game with a bar on the bottom to
prevent the falling ball getting to the bottom. The ball will bounce when hitting the bar. User can move the bar
by putting a finger on the bar and dragging it on the screen. The difficulty of the game can be represented by
the falling speed of the ball or the bar length, or both.
2. When the ball hit the bottom line outside the bar region, the game is over. A popup window is shown in Figure
5, to ask the user if he/she would like to reset the game or exit to the main menu. When user click Exit
button, the user will be directed to the score list as shown in Figure 6. The game result will be printed with an
image icon shown on the left. Therefore, by clicking Exit button, the camera will launch first to take a photo
of the user. The photo will be then saved and applied in the score list.
3. During the game, the user can hit the menu button on the keyboard, or the action bar button. This will popup
the menu which allows the user to configure the game as shown in Figure 4, respectively. When user click
Exit to menu button in the option menu in previous step, the user gets to the main menu of the game as
shown in Figure 1. If the user click Select Difficulty, Figure 2 is presented, and a new game can be
launched with the selected difficulty. If the user click Reset, the game will restart.
4. Define and apply strings and colors as structured resources.
Marks