MCPcopy Index your code
hub / github.com/python/cpython / notify_move

Method notify_move

Lib/turtledemo/nim.py:81–84  ·  view source on GitHub ↗
(self, row, col)

Source from the content-addressed store, hash-verified

79 return self.sticks == [0, 0, 0]
80
81 def notify_move(self, row, col):
82 if self.sticks[row] <= col:
83 return
84 self.move(row, col)
85
86
87class Stick(turtle.Turtle):

Callers

nothing calls this directly

Calls 1

moveMethod · 0.95

Tested by

no test coverage detected