Sunteți pe pagina 1din 2

WORK FOR THE FUTURE

SIT 207 Android Programming


Sub-Assignment 1: UI Development (10%)

Due date 13th of September 2015 Via CloudDeakin Dropbox


I. Description
In this assignment, we are going to continually work on the app as in sub-assignment 1 to make our game. The
application will be a pinball game as below.

Fig. 1 Main

Fig. 5 Reset Game

Fig. 2 Select Difficulty

Fig. 3 Game

Fig. 4 Menu Button

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

WORK FOR THE FUTURE

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.

II. Assessment Guide


Description
Intent and List View:
Apply custom list view to achieve the desired functions (2 marks).
Can apply custom assets and design to improve the graphic quality in the
game (1 mark)
Can pass game data from game activity to score list activity using Intent
(2 marks)
Can apply one game activity to adapt to different game difficulties. (2
mark)
Java Convention:
Use the Java programming convention described in slide 14 of the lecture
notes in week 3. (2 mark)
Comments:
Provide detailed comments on list view activity (1 mark)

Marks

III. Submission & Deadline


Due: 11:59pm, 13 September (Sunday), 2015
Submission:
Work on the sub-assignment 1 project. Use the solution of sub-assignment 1 on Cloud Deakin (will be
posted on 24 August) as a reference to fix the issues in your sub-assignment 1.
Zip all project files into a .zip file
Submit with the faculty electronic assignment cover sheet
Upload the zip file and cover sheet to CloudDeakin. Email submissions are not accepted. Late submissions
will be punished according to the university rule.

S-ar putea să vă placă și