CHALLENGES


  1. Modify the Rock, Paper and Scissors game by adding another button to the form so that the player can receive instructions if needed. Display the help text in the txtOutput TextBox control.

  2. As it is currently written, the Rock, Paper and Scissors game does not clearly distinguish when the player fails to make a move within the allotted time (a half-second). Modify the game so that if the player fails to make a move in the allotted time, the game displays a message encouraging the player to be faster.

  3. The 1.5-second countdown is meant to simulate the amount of time that it typically takes for two players to sync up when manually playing a game of Rock, Paper and Scissors. Although the computer needs almost no time to make a decision, the time delay is key to giving the game a realistic feel. Experiment with different time delays and see if you can adjust them to make the game even more lifelike.




Microsoft Visual C++ 2005 Express Edition Programming for the Absolute Beginner 2006
Microsoft Visual C++ 2005 Express Edition Programming for the Absolute Beginner 2006
ISBN: 735615381
EAN: N/A
Year: 2005
Pages: 131

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net