Guest User

Untitled

a guest
Dec 11th, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.00 KB | None | 0 0
  1. ;; Problem Set 4:
  2.  
  3.  
  4. ; ---- FIRST STUDENT ----
  5. ;
  6. ;
  7. ; Name (first, last):
  8. ;
  9. ; Victor Chern
  10. ;
  11. ; UBC Student ID number: 32797110
  12. ;
  13. ; CS Department account ID: o8m8
  14. ;
  15. ; Lab section: L1W
  16. ;
  17. ; Lecture section (circle):
  18. ;
  19. ; 101 (Gregor), 102/BCS (Joanna), 103 (Ron)
  20. ; ---- SECOND STUDENT ----
  21. ;
  22. ;
  23. ; Name (first, last):
  24. ;
  25. ; Yoo La (Olivia) Sung
  26. ;
  27. ; UBC Student ID number: 29725116
  28. ;
  29. ; CS Department account ID: t5p8
  30. ;
  31. ; Lab section: L1W
  32. ;
  33. ; Lecture section (circle):
  34. ;
  35. ; 101 (Gregor), 102/BCS (Joanna), 103 (Ron)
  36.  
  37.  
  38. (require 2htdp/image)
  39. (require 2htdp/universe)
  40.  
  41. ;; =================
  42. ;; Constants:
  43.  
  44. (define WIDTH 800)
  45. (define HEIGHT 600)
  46.  
  47. (define SPEED 1)
  48.  
  49. (define TEXT-SIZE 12)
  50. (define TEXT-COLOUR "pink")
  51.  
  52. (define MTS (empty-scene WIDTH HEIGHT))
  53.  
  54. ;; =================
  55. ;; Data Definitions:
  56.  
  57. (define-struct number (x y))
  58. ;; Number is (make-drop Integer Integer)
  59. ;; interp. A number on the screen with x and y co-ordinates
  60. (define
Add Comment
Please, Sign In to add comment