### ------------------------------ ###
### MINIMUM TECHNICAL REQUIREMENTS ###
### ------------------------------ ###
# 1) Create your first layer of shapes
# NOTE: Shapes made first will appear UNDER
# any shapes made later.
# head = yellow circle with black outline?
# thick outline
# sprite = codesters.Circle(x, y, diameter, "color")
headoutline = codesters.Circle(0, 0, 420, "black")
head = codesters.Circle(0, 0, 400, "yellow")
# 2) Remember to give your shapes specific names
# black circle for mouth
# yellow rectangle to cover mouth top
mouth = codesters.Circle(0, 0, 250, "black")
# sprite = codesters.Rectangle(x, y, width, height, "color")
mouthtop = codesters.Rectangle(0, 50, 260, 160, "yellow")
# 3) Create your second layer of shapes and
# give them specific names
# black eyes ellipse
# sprite = codesters.Ellipse(x, y, width, height, "color")
lefteye = codesters.Ellipse(-75, 80, 35, 70, "black")
righteye = codesters.Ellipse(75, 80, 35, 70, "black")
# 5) Add actions to animate shapes by using
# dot notation with specific variable names
# click event
# when clicked change to $$ money smiley
def click():
#black outline of eyes
# sprite = codesters.Circle(x, y, diameter, "color")
cashlefteyeout = codesters.Circle(-100, 100, 200, "black")
cashlefteyeout = codesters.Circle(100, 100, 200, "black")
#lime green circles for eyes
cashlefteyein = codesters.Circle(-100, 100, 180, "limegreen")
cashlefteyein = codesters.Circle(100, 100, 180, "limegreen")
#black $ text at position on top
#change size of text
# sprite = codesters.Text("text", x, y)
dollarleft = codesters.Text("$", -100, 90)
dollarright = codesters.Text("$", 100, 90)
dollarleft.set_text_size(150)
dollarright.set_text_size(150)
#lime green rectangle for cash
# sprite = codesters.Rectangle(x, y, width, height, "color")
cash = codesters.Rectangle(0, -130, 100, 180, "limegreen")
#light green rectangle on top
# sprite = codesters.Rectangle(x, y, width, height, "color")
cashrec = codesters.Rectangle(0, -126, 50, 30, "lightgreen")
#light green circles to each side to make rounded rectangle
# sprite = codesters.Circle(x, y, diameter, "color")
cashc1 = codesters.Circle(-26, -126, 30, "lightgreen")
cashc2 = codesters.Circle(26, -126, 30, "lightgreen")
#light green circles at bottom corners of cash
cashc3 = codesters.Circle(-36, -200, 10, "lightgreen")
cashc4 = codesters.Circle(36, -200, 10, "lightgreen")
stage.event_click(click)