assign6
CISB 119 20 pointsAssignment #6
Objectives: To give students experience using scroll bars, control arrays, accumulators, the select case statement, the change event, scroll event, For/Next loops, and moving controls.
Problem: Paula's Putt Putt has asked you to assist them in developing a new product for score keeping. Rather than giving players old fashioned cardboard score cards to use to keep score, Paula wants to provide her customers with laptop computers and a "spiffy" Windows based scoring program. In order to make it successful she wants to keep user typing to an absolute minimum.
Program: You are to develop a program that will allow two users to keep track of their scores on Paula's 9 hole mini golf course. The only information the users should have to type is their names. All scores should be entered using either scroll bars or up/down buttons. At any point during the game the users should be able to calculate their current totals to see who is ahead. At the end of the game the program should display "Winner" or "Tie" next to the winner's name and their level of expertise.
Special
Considerations: 1) Use Inputbox to enter the user’s names and then assign them to the caption of the frames.
2) Level of expertise is determined as follows:
Score <= 36 (Awesome Pro)
36 < Score <= 40 (Super)
40 < Score <=48 (Great)
48 < Score (Eagle Eye)
3) Allow the users to print the scorecard.
4) The maximum score on any hole is 10.
Turn In: 1) TOE chart
2) Form (design)
3) Form (with output) (without scroll bars and command buttons)
4) Code
5) Logic diagrams of Clear and Calculate click events
Suggestions: 1) Lay out your screen on paper first so you'll know what to put in control arrays.
2) Diagram your logic first. You'll have to make one anyway so you may as well use it to plan you program.
3) Make sure you understand and can use control arrays before you try to do this. Play around with with three controls in it before trying the assignment.
Extra Challenge: 1) Do 18 holes with sub totals for front and back 9s. Try four players.
2) You can try using the Up/Down button (Windows Microsoft Common Controls –2 ) or the Slider control (Microsoft Windows Common Controls) instead of the scroll bars.