Reference no: EM1383610
Task: Design and implement 2 projects for the Falling Letters game using C# and Windows Presentation Foundation (WPF) template in Visual Studio 2012 or newer.
When the program starts, player can see alphabet letters (A, B, C, ..., Z) falling down as seen on the game window below.
- In the first project, the player identifies the lowest letter then presses the key of that letter on the keyboard to remove that letter from the window. Note that only the lowest letter on the window can be removed.
- In the second project, the player clicks the mouse on any falling letter to remove that letter from the window.
The game is over if the lowest letter touches the bottom side of the window. The player wins if all of the letters are removed.
Requirements:
Your design and implementation should satisfy the following requirements:
1. There are 26 letters (A, B, C, ..., Z) falling down in alphabetical order starting with letter A.
2. The following values are randomly generated: distance from a letter to the left side of the window, distance from a letter to the top side of the window, and distance between 2 consecutive letters.
3. The falling speed is the same for all of the letters and cannot be changed at runtime.
4. Use generic queue in the first project and generic list in the second project.
5. Your program needs to handle all exceptions.
6. You need to use XML comments and Microsoft convention styles for writing C# code and indentation.
Hints and marking scheme will be provided in tutorials. An example for the main window can be found below. You can add more text box, button or other controls for your implementation.
Explain anaerobic respiration
: Explain anaerobic respiration in terms of an electron transport chain, proton motive force, electron donors and acceptors.
|
Which specific tort do you believe cortland should pursue
: Would you recommend that is claim is one for an intentional tort or negligence, and why? Which specific tort do you believe Cortland should pursue.
|
Latent heat of fusion problem
: What mass (in grams) of steam at 100°C must be mixed with 387 g of ice at its melting point, in a thermally insulated container, to produce liquid water at 26.0°C? The specific heat of water is 4186 J/kg·K. The latent heat of fusion is 333 kJ/kg, ..
|
Question about recombination frequency
: CC DD and cc dd individuals were crossed and hte F1 generation was backcrossed to get cc dd parent. 903 Cc Dd, 897 cc dd, 98 Cc dd. c and d are 10 m.u apart.
|
Projects for the falling letters game
: Design and implement two projects for the Falling Letters game using C# and Windows Presentation Foundation (WPF) template in Visual Studio 2012 or newer.
|
Communication is so crucial in the business world
: Communication is so crucial in the business world. Communication is best conveyed in the workplace by what means?
|
Balancing of reciprocating engines
: If the engine is mounted solidly on a rigid foundation, what is the alternating force amplitude transmitted? Assume the connection rod to be of infinite length.
|
Find the gas gravity
: A dry gas sample has been extracted from a well and analyzed via GC to have the given mole fractions: 0.91 methane, 0.035 propane.
|
Human resources field we frequently use the saying hire hard
: In the Human Resources field we frequently use the saying hire hard manage easy.
|