MCPcopy Create free account
hub / github.com/geekcomputers/Python / draw_moves

Method draw_moves

Checker_game_by_dz/modules/checker.py:61–69  ·  view source on GitHub ↗
(self, moves)

Source from the content-addressed store, hash-verified

59
60 # to draw next possible move
61 def draw_moves(self, moves):
62 for move in moves:
63 row, col = move
64 pg.draw.circle(
65 self.window,
66 red,
67 (col * sq_size + sq_size // 2, row * sq_size + sq_size // 2),
68 15,
69 )
70
71 # for changing the turn
72 def chg_turn(self):

Callers 1

updateMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected