Está en la página 1de 18

< Mobile Hidden Object Game >

Design Document
Version 1.0
Group Id: <S1402F29C4 (C120402090!C120402"92#>
Super$isor %&me :< 'sm&n (&)eed *)&tti >
Revision History
Date
(dd/mm/yyyy)
Version Description Author
26/09/2014 1.0 Its a small mobile game to find
out hidden things in different
pictures with different limitation
like time or point limits
c120402090!
c120402"92
Table of Contents

1. Introduction of Design Document
2. Entity Relationship Diagram (ERD)
3. Sequence Diagrams
. !rchitecture Design Diagram
". #lass Diagram
$. Data%ase Design
&. Interface Design
'. (est #ases

1 !ntroduction of Desi"n Document
In this document )e )ill ma*e a design of our game in depth and detail for help in
implementation. +e )ill find out entities to find relationships %et)een those entities. If )e
)ill not find out entities and relationship among those entities then )e )ill face many
pro%lems at the time of implementation. So, in this artifact )e are dra)ing ERD diagram.
In this document )e )ill dra) Sequence Diagram that )ill sho) the response of our system.
It )ill sho) the player-s input and resulting response of our system. (his diagram is dra)n
for all of our modules and it is .ery important in chec*ing the response of our system.
!lso )e )ill ma*e class diagram that )ill sho) that )hich class is dependent on another
class / )hich class is inherited as )ell as )e )ill find all relationships among the classes
for o%0ect oriented implementation. +e )ill pro.ide architectural design that )ill sho) ho)
our system )ill )or* / )hich module is first to run and )hich module )ill %e the last one
to run.
+e )ill pro.ide screen shots for %asic .ie) of our game that )ill sho) that ho) the game
)ill loo* li*e )hen it )ill %e completed. (his document is .ery important for
implementation %ecause in this document )e )ill ma*e full design of our game and %y the
fallo)ing of this document )e )ill complete the game )ith less hurdle.
# $ntity Relationship Dia"ram ($RD)
%e&uence Dia"rams
Use case 2 sequence diagram:
' Architecture Desi"n Dia"ram
( Class Dia"ram
) Database Desi"n
#o need to design $%& data base because its single pla'er game. If we ha(e
multipla'er game then we ha(e multiple data to handle it. )ut we ha(e limited data of
single pla'er so we can sa(e it in *+&ist or arra' list. ,e dont ha(e big data base.
* !nterface Desi"n
1i*e that o.er game .ie)
+ Test Cases
(est Steps(s) E2pected Result(s)
(#31
(he 4layer is a 5e) 4layer. She6he
clic*s on the 5e) 7ame option.
! )indo) )ill appear in front of
the 4layer / the 4layer )ill %e
as*ed to enter his6her name.
(#32
(he 4layer enters his6her name /
after that he6she clic*s on the 5e2t
%utton.
! ne) )indo) appears in front of
the 4layer / the 4layer )ill %e
as*ed to find the hidden o%0ects.
(#33
+hen the 4layer finds all the
hidden o%0ects.
1. If the 4layer selects the 8es
option.
2. If the 4layer selects the 5o
option.
! message )ill appear in front of
the 4layer that9 :#ongratulations
you ha.e found all the hidden
o%0ects.;
:Do you )ant to continue<;
=8es
=5o
1. (he game )ill sa.e the progress
made %y the 4layer in the pre.ious
1e.el / )ill also unloc* the ne2t
le.el for the 4layer / allo) him to
4lay the 5e2t le.el.
2. (he game )ill sa.e the pre.ious
progress made %y the 4layer / )ill
unloc* the ne2t le.el for the
4layer. (he game )ill then open
the home page )indo) of the
game in )hich different options
)ill %e pro.ided to the 4layer.
(#3
If the 4layer presses the Esc %utton
in the middle of the game )ithout
sa.ing his6her progress.
1. If the 4layer selects the 8es
option.
2. If the 4layer selects the 5o
option.
! message in a small %o2 )ill
appear sho)ing9 :Do you )ant to
E2it.;
=8es
=5o
1. (he game )ill return the 4layer
to the >ome 4age )indo) of the
game )ithout sa.ing the 4layer-s
progress.
2. (he game )ill %e resumed.
(#3"
If the 4layer Sa.es the game in the
middle of the le.el.
! )indo) )ill appear in front of
the 4layer )hich )ill display slots
for sa.ing the game to the 4layer.
(#3$
(he 4layer )ill select a particular
slot %y clic*ing on it / then the
4layer )ill clic* on the Sa.e
%utton to Sa.e the game.
(#3&
!fter Sa.ing the game the 4layer
)ill clic* on the E?I( %utton to
resume the game he6she is playing.
(he game )ill %e resumed
(#3'
If the 4layer is not ne) / he
completed or sa.ed a particular
le.el then he6she )ill select the
#ontinue option from the
>omepage )indo) of the game.
! )indo) )ill appear in front of
the 4layer )ith options.
=1e.els
=1oad 7ame
(#3@
1. If the 4layer selects the
1e.els option
2. (he 4layer selects a
particular 1e.el slot %y
clic*ing on it.
!fter that the 4layer clic*s
on the 1A!D %utton.
1. !ll the le.els cleared %y
the 4layer as )ell as the
ne) le.els unloc*ed for
the 4layer %y the game
according to the
4layer-s progress )ill %e
sho)n to the 4layer in
the form of slots.
2. (he selected 1e.el )ill
%e loaded for the 4layer.
(#31B 1. If the 4layer selects the
1oad 7ame option.
2. (he 4layer clic*s on a
particular game slot
)hich )ill %e then
highlighted.
!fter that he clic*s on
1. !ll the game slots
representing the games
)hich the 4layer ha.e
pre.iously sa.ed )ill %e
displayed to him6her.
2. (he sa.ed game )ill %e
loaded
the 1oad %utton.
(est Steps(s) E2pected Result(s)
Cerify follo)ing com%inations
! for invalid
V for valid
$ for error
C for correct
(est Steps(s) E2pected Result(s)
(#31
(he 4layer is a 5e) 4layer.
She6he clic*s on the 5e) 7ame
option.
! )indo) )ill appear in front of
the 4layer / the 4layer )ill %e
as*ed to enter his6her name.
4layer
7ame
E2pected Result(s)
3
3 E
I
C E
C
I E
I
I E
C
C #
(#32
(he 4layer enters his6her name
/ after that he6she clic*s on the
5e2t %utton.
! ne) )indo) appears in front
of the 4layer / the 4layer )ill
%e as*ed to find the hidden
o%0ects.
(est Steps(s) E2pected Result(s)
C C #
(#33
+hen the 4layer finds all the
hidden o%0ects.
! message )ill appear in front
of the 4layer that9
1. If the 4layer selects the
8es option.
2. If the 4layer selects the
5o option.
,Con"ratulations you have
found all the hidden ob-ects.
,Do you /ant to continue0.
12es
=5o
1. (he game )ill sa.e the
progress made %y the 4layer in
the pre.ious 1e.el / )ill also
unloc* the ne2t le.el for the
4layer / allo) him to 4lay the
5e2t le.el.
2. (he game )ill sa.e the
pre.ious progress made %y the
4layer / )ill unloc* the ne2t
le.el for the 4layer. (he game
)ill then open the home page
)indo) of the game in )hich
different options )ill %e
pro.ided to the 4layer.
(est Steps(s) E2pected Result(s)
C C #
(#3
If the 4layer presses the Esc
%utton in the middle of the
game )ithout sa.ing his6her
progress.
1. If the 4layer selects
the 8es option.
2. If the 4layer selects
the 5o option.
! message in a small %o2
)ill appear sho)ing9 :Do
you )ant to E2it.;
=8es
=5o
1. (he game )ill return the
4layer to the >ome 4age
)indo) of the game )ithout
sa.ing the 4layer-s progress.
2. (he game )ill %e
resumed.
(est Steps(s) E2pected Result(s)
2 for yes
3 for no
esc for escape 4ey
C for continue
3o/ $ for e5it
3
3 #
esc
5 #
esc
3 #
esc
8 E
(#3"
If the 4layer Sa.es the game in
the middle of the le.el.
! )indo) )ill appear in front of
the 4layer )hich )ill display
slots for sa.ing the game to the
4layer.
(#3$
(he 4layer )ill select a particular
slot %y clic*ing on it / then the
4layer )ill clic* on the Sa.e
%utton to Sa.e the game.
(#3&
!fter Sa.ing the game the 4layer
)ill clic* on the E?I( %utton to
resume the game he6she is
playing.
(he game )ill %e resumed
(est Steps(s) E2pected Result(s)
3
3 E
C
C #
(#3'
If the 4layer is not ne) / he
completed or sa.ed a particular
le.el then he6she )ill select the
#ontinue option from the
>omepage )indo) of the
game.
! )indo) )ill appear in front
of the 4layer )ith options.
=1e.els
=1oad 7ame
(est Steps(s) E2pected Result(s)
C
C #
(#3@
3. If the 4layer selects the
1e.els option.
. (he 4layer selects a
particular 1e.el slot %y
clic*ing on it.
". !fter that the 4layer
clic*s on the 1A!D
%utton.
3. !ll the le.els cleared %y
the 4layer as )ell as the
ne) le.els unloc*ed for
the 4layer %y the game
according to the 4layer-s
progress )ill %e sho)n
to the 4layer in the form
of slots.
. (he selected 1e.el )ill
%e loaded for the 4layer.
6 for load "ame
% for sta"es/levels
V for valid
$ for error
C for correct
4layer
7ame
E2pected
Result(s)
3
3
E
S
S
E (if opening
loc*ed stages)
S
S
#
1
1
#
(#31B 3. If the 4layer selects the
1oad 7ame option.
. (he 4layer clic*s on a
particular game slot
)hich )ill %e then
highlighted.
!fter that he clic*s on
the 1oad %utton.
3. !ll the game slots
representing the games
)hich the 4layer ha.e
pre.iously sa.ed )ill
%e displayed to
him6her.
. (he sa.ed game )ill
%e loaded
4layer
7ame select
E2pected
Result(s)
C
7
E
C
C
#

También podría gustarte