Presentation is loading. Please wait.

Presentation is loading. Please wait.

VISUAL BASIC FINAL PROGRAMMING PROJECT

Similar presentations


Presentation on theme: "VISUAL BASIC FINAL PROGRAMMING PROJECT"— Presentation transcript:

1 VISUAL BASIC FINAL PROGRAMMING PROJECT
Mitchell Elementary school would like to hire you to create a Rock, Paper, Scissors project for use in grades Rock, Paper, Scissors is a hand game used to make selections or resolve conflicts. It is usually played by two people; however, in this version, the game is played between the computer and the student. Introduction/Title Form -- create an opening interface. The title of your game should be on this screen. Change font sizes and colors. This form is mostly aesthetic. It should get the user interested in your game. Include graphics and an icon for the title bar. This form should also allow the player to type in their name for use during game play. The user should be able to easily go from this form to the rules/about form or to the game play form. This can be done via menus, command buttons or a combination of both. Rules/About Form -- create a modal rules/about form. (Note: These can be included on one form or made as two separate forms if you’d like). This form should have at least three labels. The tool bar should give the title of the game. The rules of rock, paper scissors should be presented to the player. The form should describe who developed the program, when it was developed, and who it was developed for. The bottom label should have the some sort of fake copyright warning. (See page 3.5 in the VB book for an example). (Why? Because its funny!). The rules/about form should make use of the picture and line controls. Also put an icon on the title bar of the form. The user should be able to easily return to the intro form or the game play form from this screen. This can be done via menus or command buttons or a combination of both. Game Play Form – The game play form is the most important component of this program. It should be visually pleasing and easy to use. Include a menu structure that allows access to the rules/about form, the game play options, and an exit option. The game play form has four key design issues. Design the user interface to allow the player to make a choice. This can be done via command buttons, a drop-down box, or dragging and dropping. Your design must make it clear how to make that choice AND make it easy for the game to recognize that choice. (Via pictures and words). Generate a choice for the computer. The choice can consist of three possibilities – Rock, Paper, or Scissors. In addition, the choice must not have a repeatable pattern, the sequence of choices must be random. This will be done using the VB functions Randomize and RND. The computer’s choice should be apparent (again, via pictures and words). Determine the winner! Based on the player’s and computer’s choice a winner must be determined for each draw. I would prefer you to use the Select Case Structure to compare the player’s choice with the computer’s choice. Points will be given on the grading rubric for utilizing select case. However, I will accept other variations as long as they work! Display the results! On each draw, the form must clearly indicate who won and who lost that round. This can be done with color changes (Ex: Green for a win, red for a loss and/or displaying an “X” box next to the winner’s name). You should create some type of scoreboard that will update the computer’s and player’s totals as the game proceeds. You can determine how many wins it takes to end the game. Result forms – Once the target score has been reached by the computer or the player, a results form should appear. You can use one form that loads different images based on who won OR create two separate forms… one for each possible winner. This form should be well-designed and visually appealing. It should include a title bar with an icon, an appropriate image or graphic, nicely sized fonts, and a message explaining who won. This form should allow options to play again or exit the program. If the player decides to try again they should be returned to the game play form and the scoreboard should be cleared! GOOD LUCK AND KICK BUTT ON THIS!


Download ppt "VISUAL BASIC FINAL PROGRAMMING PROJECT"

Similar presentations


Ads by Google