Code Sketch


Club of PlayCards
By: Saania Sayed
Category: Programming
clear

def drawClub = Picture(
    circle (35)
).withFillColor(black).thatsStrokeColored(black)
    
def clubs = picStack(
    drawClub,
    drawClub
    .withFlippedX,
    drawClub
    .thatsRotated(-90)
    .thatsTranslated(0, 10)
)

clubs.draw

def leftStand = Picture{

left(-90,50)
left(180)
forward(50)
}.withFillColor(black).withPenColor(black)

leftStand.draw()
leftStand.withFlippedX.thatsTranslated(0,0).draw()