MCPcopy Index your code
hub / github.com/geekcomputers/Python / hasWin

Method hasWin

brickout-game/brickout-game.py:271–275  ·  view source on GitHub ↗

Has player win the game?

(self)

Source from the content-addressed store, hash-verified

269 self._bricks.remove(brick)
270
271 def hasWin(self):
272 """
273 Has player win the game?
274 """
275 return len(self._bricks) == 0
276
277 def collide(self, ball):
278 """

Callers 1

brickout-game.pyFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected