Case Study 2: VocEnhancer
FunTime Inc. is a
software
development
company that
specializes
in creating
educational games
for children. After
doing
a survey
of the current
market, the marketing
team
found that
there
is a great
demand for software
that helps children
to improve their
English vocabulary. Therefore, the
marketing
team proposed
that the company
should come up with a
new game that
helps
sharpen English vocabulary
of children. One of
the game designers in the company
has suggested
a game called
VocEnhancer.
Rules
of VocEnhancer
VocEnhancer should be
played as per
the following
rules:
n
It is a
single-player
game.
n
There
are
three
levels
in the
game,
Beginner,
Average,
and Expert.
The
players would choose
from
these
levels according
to their
vocabulary.
n
Depending
upon the
level,
a few
characters
from
an English
word
appear on
the screen. The
total
number of
characters
in the word,
the
number of
chances to
guess the
word, the
marks
scored by the
player,
and the seconds
elapsed
also
appear on the screen.
n
If the user is not aware of the word, he should be able to
change the word by writing "flip" on the console. A sample screen is shown in
the following figure.
Interface
of VocEnhancer
n
The marks,
number of
chances to
guess
the word,
and the
time
elapsed
is to
be updated on the
screen.
n
The player
needs to
guess
each word
within
the
given
chances.
If a
player
is not
able to guess any
five words in
the given number
of chances, the
game should get
over.
n
If the player
has scored highest
marks, the
following
details get
stored in
a file:
l
Name of the player
l
Time taken to complete
the level
l
Marks
Design
Specifications
The design of
the game should be
as per
the following
specifications:
n
When the game starts,
a menu should be
displayed with the
following
options:
l
Level 1
- Beginner
l
Level 2
- Average
l
Level 3
- Expert
n
The player
can choose
any level.
As the
player
selects
the level,
details
of the highest
score
for that
level
should
be displayed
on the
screen
and then the
game should start.
n
Each level
has different
sets of
words.
n
At a
time,
a few
characters
of a word
are displayed
on the
screen.
These
characters are
picked
up randomly and
are placed at
the
position where they occur
in the word. The
missing
characters are
indicated by blanks or
underlines.
n
The number
of characters
displayed
on the
screen
depends upon
the length
of the word to
be guessed.
If the
word
is long,
the characters
displayed
should be
more
and vice
versa.
n
The sequence of the words
displayed should be random.
n
The number
of chances
to guess
each word
should
be five
more
than the
number of missing
characters
in the word.
n
The player
gets one mark
for guessing
the correct
word.
n
The total
marks
scored
by the
user should
be displayed
on the
screen
and the
score needs to
be updated
with each word guessed correctly.
n
The number
of seconds
elapsed
should
be displayed
on the
screen
and should
be updated every
second.
n
If the
player
outscores
the highest
marks,
his/her
name, marks,
and time
should be stored
in a file.
n
If the
score
of the
player
is equal
to the
highest
score,
then the
time
taken
to reach the score has to be compared. The
player who has taken less time should be considered
as the
highest
score
holder
and his/her
credentials
should
be stored
in the file.
n
The highest
scores for
each level
should be stored
independently.
how i accomplish desire task plz help me