Project Report
A. Aim
Create a game using the AppInventor, which can be run on an Android phone.
B. Objectives
1. To design a game which following the problem solving procedure as
a. Problem identification
b. Problem analysis
c. Design of solution
d. Coding the app
e. Testing and Debugging
f. Documentation
2. To apply the knowledge learnt from the textbook Chapters 1 to 7
C. Problem identification
Starting from the task "Balloon and Missile", modify it to become a Dodging game (Mission 2 on
p.64). An apk file will be built and installed on an Android phone.
For example,
Designer View On Android phone
D. Problem analysis (4 points)
1. Screens and Components
a. Screens and properties
Name of Screen Purpose Initial properties
Screen1 To show how can the game works
Game_win To show when the player win
Game_lose To show when the player lose
b. Components on different screens
Screen1
Component Name Initial properties
Canvas Canvas1 Height:Fill parent
Width:Fill parent
Font size: 14
ImageSprite is_boy
ImageSprite is_ballon
ImageSprite is_missile
label lbl_globalscore
label lbl_globalchance
Name of Screen:
Name of Screen: Game_win & Game_lose (Different screen)
Component Name Initial properties
Label Label1 Width : Fill parent
(Game_win)
Label Label1 Width : Fill parent
(Game_lose)
2. End game conditions
If there’s no chance, the game will ends
3. Events handlers
Name of Screen: Screen1
Event Handler Brief description
when Screen1.initialize call procedure1
when is_balloon .EdgeReached Check if its x axis is 0 or not and do the following steps
when is _missile .EdgeReached Check if it’s visible or not and do the following steps
when Canvas1 .Touched Check if its X smaller than 105 or not and do the following steps
when is_boy .CollidedWith Set other to is_missile and do the following steps
Name of Screen: Game_win & Game_lose (Different screen)
Event Handler Brief description
4. Way to restart the game
Initial Screen1 again to restart the game
E. Coding the app (6 points)
Name of Screen: Screen1
Event Handler Block (in PNG)
is_balloon balloon.png
is_boy is_boy.png
missile missile.png
background background.png
Name of Screen: Game_win & Game_lose (Different screen)
Event Handler Block (in PNG)
F. Highlights (2 points)
Describe how your product would be different from others.
Highlight 1
Description: I create 3 screens, one is the main, the other two is for win and lose of the player.
Highlight 2
Description: l used procedure to connect different blocks together.