DirectX Quiz
Develop a simple game using direct draw & direct input.
Take an existing project (like project 1 - do not use his blackbox library)
and simply replace Game_Init, Game_Main and Game_Shutdown in the main.cpp file.
Do as
much of
the project
as you can
in
two hours. pseudo-code
any thing you don't have time to develop.
Your game should:
- load 3 small bitmap images to a secondary surfaces
- create 3 rectangles at the bottom of the screen (one white, one red &
one blue)
- blit the 3 images (one on each) on the rectangles
- start a timer (any kind you like) and time 30 seconds
- randomly blit one of the three images some where on the screen (above the
rectangles)
- the object of the game is to click on & 'drag' and drop the images
on the matching rectangle
- images disappear when you drop them
- the images appear at a rate of 1 per second
- Scoring:
- 1 point for each correct drop, -1 for a miss
- constantly display the score and time remaining
Email your new main.cpp and your .exe files to me by 8:30 tonight. At your
soonest opportunity, place your project on the K: drive.