Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- message = ""
- def setup():
- size(400,500)
- textSize(40)
- def draw():
- background(85, 5, 125)
- fill(250, 250, 200)
- rect(40, 150, 320, 20)
- rect(100, 110, 75, 40)
- rect(225, 110, 75, 40)
- rect(50, 100, 50, 50)
- rect(175, 100, 50, 50)
- rect(300, 100, 50, 50)
- rect(50, 170, 300, 280)
- fill(10, 220, 190)
- rect(75, 190, 40, 80)
- rect(145, 190, 40, 80)
- rect(215, 190, 40, 80)
- rect(285, 190, 40, 80)
- rect(75, 320, 40, 80)
- rect(285, 320, 40, 80)
- fill(110, 70, 70)
- rect(160, 300, 80, 150)
- fill(250, 250, 200)
- rect(150, 430, 100, 10)
- rect(140, 440, 120, 10)
- fill(255, 255, 255)
- text("message", 60, 70)
- def mouseClicked():
- global message
- message = ("Congratulations!")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement