(self, moves)
| 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): |