login
sign up
forgot your
password?
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 |
|
0 1 2 3 4 5 6 |
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 ... ... |