HW#2 --- last modified March 02 2019 17:07:54..
Solution set.
Due date: Mar 1
Files to be submitted:
Hw2.zip
Purpose: To gain experience creating
.rcp files and a simple app that uses multiple forms and UI and menu elements.
Specification:
The file Hw2.zip will contain all the source and resource files so that if I type:
make
From the command prompt your .prc file will be produced. For this homework your
goal is to write as cool of version as possible of the following game which
I call ``Button Madness''. Launching your application should bring up a form
with a bitmap title picture as well as buttons Short Game and
Long Game on it and long and short game fastest times. Clicking on one of
the game buttons starts a game. The idea
of the game is that a player is presented with a sequence of forms from one of
five types of forms. Each of these form types has between two and four buttons on it
as well as any pretty graphics you want. It also has an indicator which
says the
number of buttons left to click on this form. The object for the player is
to tap all of the buttons on the form so as to go to the next form in the sequence
as fast as possible. What the next
form in the sequence is chosen randomly from the list of five form types. In the
short game, the player tries to get through a sequence of ten forms as fast as possible.
In the long game, the sequence is twenty long. After completing the sequence an informational
alert box
appears saying the time the player took. After clicking ok on this alert the title
screen is redisplayed with any updates to fastest times appearing.
In addition to the above, make sure app has its own icon for the launcher
and has a menubar with a help menu with instructions and about
items on it. Selecting these either gives instructions or version information.
Especially neat-o versions of this game can receive up to 2 bonus points.
Point Breakdown
Departmental coding guidelines for C++ followed |
1pt
|
Project compiles correctly from Makefile |
2pts
|
Title Page functionality is as described | 2pts
|
Long and short game fastest times
maintained correctly | 2pt
|
Long and short games play are of correct sequence length
and do display forms from one of five types | 3pts
|
Forms have working indicator of buttons left to
click. | 2pts
|
Alert at end of game correctly gives time
of clicking through sequence | 2pts
|
Launcher icon, instruction, and version info as described | 1pt
|
Total | 15pts |
|