Difference between revisions of "Visual Basic"

From WLCS
Line 1: Line 1:
 
'''Welcome to the Visual Basic Homepage!'''
 
'''Welcome to the Visual Basic Homepage!'''
 
You may find the old Visual Basic website here: [http://www.paulbui.net/wl/vb VB_0708]
 
  
 
== Thursday - Monday (11/6/08 - 11/10/08) ==
 
== Thursday - Monday (11/6/08 - 11/10/08) ==
Line 15: Line 13:
 
*** Randomly place them when the form is loaded
 
*** Randomly place them when the form is loaded
 
*** If an item is collected (collision with item), then make the item disappear and increase your item count by 1
 
*** If an item is collected (collision with item), then make the item disappear and increase your item count by 1
 
== Thursday (10/30/08) ==
 
* Catch up day.  Turn in any missing work
 
* You should have keyboard input with a moving object
 
* Try adding collisions using the distance formula between two objects
 
 
== Tuesday (10/28/08) ==
 
* 1st Quarter Exam
 
* When you are done, you should work on your game
 
 
== Friday (10/24/08) ==
 
* [[Simple Sprite Motion Assignment]]
 
* Keyboard sprite movement
 
** Search online for video game sprite images (e.g. google "mario sprites")
 
** Download [[Media:Keyboard.frm]]
 
** Create a new program for your keyboard-movable sprite (we're going to get rid of buttons)
 
** Go over the keyboard code and grab the necessary pieces of source code to add to your new program
 
** Add the necessary if statements to move your video game sprite around using the keyboard
 
** Demo your program to Mr. Bui
 
** CHALLENGE:
 
*** Add a second movable picture for another player
 
*** Add screenwrapping
 
*** Add collisions with the walls
 
 
== Monday - Wednesday (10/20/08 - 10/22/08) ==
 
* Demo the Cell Phone Bill calculator
 
* Demo the Shipping calculator
 
* [[Simple Sprite Motion Assignment]]
 
* [[Media:Keyboard.frm]]
 
 
== Tuesday - Thursday (10/14/08 - 10/16/08) ==
 
* Review VB pp. 314 - 327
 
* College Admissions calculator
 
** Research a college of your choice and find the average GPA and SAT scores of admitted students
 
** Create a program that accepts two inputs: GPA and SAT score
 
** When you press the calculate button, you should evaluate whether or not the person's GPA is high enough to get in
 
** If the GPA is high enough, then check if the SAT score is high enough
 
** You should display messages to the user if they could be admitted, whether or not they need to increase their GPA, or retake the SATs
 
 
* Complete the Cell Phone Bill calculator (p. 372)
 
** You are encouraged to use your own cell phone plan's charges!
 
* Complete the Shipping calculator (p. 377)
 
* If you have completed everything, then you may spend some time researching colleges
 
 
== Wednesday - Friday (10/8/08 - 10/10/08) ==
 
'''Agenda:'''
 
* [[Media: IfDemo.frm]]
 
* [[Media: RandomDemo.frm]]
 
* [[Media: GuessingGame.frm]]
 
* Complete and demo your guessing game
 
* Add other cool features!
 
** Limit # of guesses
 
** Display # of wins/losses
 
** Last inputted guess
 
** Colors, graphics, and funny sayings
 
** Anything else you can think of that will make your game awesome!
 
 
== Monday (10/6/08) ==
 
* Update grades
 
* Demo Weekly Pay Calculator (p. 283)
 
* Demo Cash Register (p. 285)
 
* Grade Calculator (p. 286)
 
 
== Thursday (10/1/08) ==
 
* Interim grades
 
* Catch-up and turn in any missing
 
  
 
== Archives ==
 
== Archives ==
[[VB - September]]
+
* [[VB - October]]
 +
* [[VB - September]]

Revision as of 13:21, 10 November 2008

Welcome to the Visual Basic Homepage!

Thursday - Monday (11/6/08 - 11/10/08)

  • Randomization review
  • Collision detection review
  • Item collection game
    • You will have a label that tracks the number of items (initialize it to 0)
    • You will have a single player that can move around the screen
    • You will have at least 10 "mines" on the screen
      • Randomly place them when the form is loaded
      • If a mine is hit, then tell the user "Game Over" and end the game
    • You will have at least 5 items on the screen
      • Randomly place them when the form is loaded
      • If an item is collected (collision with item), then make the item disappear and increase your item count by 1

Archives