Advertisement
Guest User

Untitled

a guest
Jul 18th, 2019
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.48 KB | None | 0 0
  1. 'Create a variable "screenW" with the value 600
  2. '###############################################
  3.  
  4. 'Create a variable "screenH" with the value 400
  5. '###############################################
  6.  
  7. 'Create a variable "startTime" and set the current second with the Clock object
  8. '###############################################
  9.  
  10. 'Create a variable "GOAL" with the value 10
  11. '###############################################
  12.  
  13. 'Create a variable "numOfHits" and set it to zero
  14. '###############################################
  15.  
  16. 'Set GraphicsWindow.Width equal to the variable "screenW"
  17. '###############################################
  18.  
  19. 'Set GraphicsWindow.Height equal to the variable "screenH"
  20. '###############################################
  21.  
  22. 'Set GraphicsWindow.CanResize to zero
  23. '###############################################
  24.  
  25. 'Set GraphicsWindow.MouseUp event to the subroutine "shoot" which will be made soon
  26. '###############################################
  27.  
  28. 'Set GraphicsWindow.BrushColor to the color "Black"
  29. '###############################################
  30.  
  31. 'Set GraphicsWindow.PenColor to the color "Black"
  32. '###############################################
  33.  
  34. 'Create an empty subroutine called "createTarget"
  35. '###############################################
  36.  
  37. 'Create an empty subroutine called "shoot"
  38. '###############################################
  39.  
  40. 'Call the createTarget subroutine using the subroutine name and brackets
  41. '###############################################
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement