(self, x, y, w=None, h=None)
| 164 | super(MyApp, self).on_close() |
| 165 | |
| 166 | def coord_in_map(self, x, y, w=None, h=None): |
| 167 | w = len(self.mine_matrix[0]) if w is None else w |
| 168 | h = len(self.mine_matrix) if h is None else h |
| 169 | return not (x > w - 1 or y > h - 1 or x < 0 or y < 0) |
| 170 | |
| 171 | def new_game(self, widget): |
| 172 | self.time_count = 0 |
no outgoing calls
no test coverage detected