login
sign up
forgot your password?
Circle game by Fahri

Goal: Cover the blue circle with three circles. How to play: First, click on the interactive button to start the game. When you click on a spot, a new circle centered at this spot will appear. When you click again another circle will appear. After the third circle if you click again game will be reset.

  Circle game

circle(10, 10, 10, fillColor = color.navy)
circle1.draggable = False

def addcircle(event, source):
    if len(system.circles) < 4:
        circle(canvas.mouseX, canvas.mouseY, 8.8, fillColor = (255, 255, 0, 200))
    else:
        system.removeElements(system.circles[1:])
    
canvas.bind(LEFTDOWN, addcircle)
system.box.active = False
...
...