Monday 17 September 2012

Rock, Paper and Scissors - T.O.E Chart

The Rock, Paper and Scissors program is escalating quickly and the T.O.E Chart has been completed. Yet again, my O.T.E Chart has been completed.

OBJECT
TASK
EVENT
Heading
-           
Displays the Heading
Rock Button
Click
Changes player picture to rock and generates random number to determine CPU answer. Adds a point to either the CPU or Player depending and displays a comment on the outcome
Paper Button
Click
Changes player picture to paper and generates random number to determine CPU answer. Adds a point to either the CPU or Player depending and displays a comment on the outcome
Scissors Button
Click
Changes player picture to scissors and generates random number to determine CPU answer. Adds a point to either the CPU or Player and displays a comment depending on the outcome
Comment Label
-
Displays comments in comment label depending on the outcome
Human Score Label
-           
Adds +1 point every time the player wins a round
Computer Score Label
-           
Add  +1 point every time the computer wins a round
Reset Button
Click
Clears scores and changes text in comment label
Help Button
Click
Opens a Message box and displays inputted message
Exit Button
Click
Exits/Closes the program



































Wow, just realized that with this my Rock, Paper and Scissors program is nearly at the development stage, and the end of this program means the end of my Visual Basic adventures. Oh well, this is my O.T.E which contains all the major buttons in the game and the event that will arise from using them.
                                                        ~T.O.E  (O.E.T) Chart Complete~

No comments:

Post a Comment