MCPcopy Create free account
hub / github.com/ndleah/python-mini-project / place_leaf

Function place_leaf

Caterpillar_Game/Caterpillar.py:75–79  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

73 score_turtle.write(str(current_score), align='right', font=('Arial', 40, 'bold'))
74
75def place_leaf():
76 leaf.hideturtle()
77 leaf.setx(rd.randint(-200,200))
78 leaf.sety(rd.randint(-200,200))
79 leaf.showturtle()
80
81def start_game():
82 global game_started

Callers 1

start_gameFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected