Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def ehJogador(self , tab, casa):
- if (1 <= casa[0] <= self.linhas) and (1 <= casa[1] <= self.colunas):
- if not self.casaLivre(tab,casa):
- return tab[casa] == 'p' or tab[casa] == 'b'
- else:
- return False
- else:
- return False
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement