Advertisement
Guest User

Untitled

a guest
Dec 16th, 2017
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. def ehJogador(self , tab, casa):
  2. if (1 <= casa[0] <= self.linhas) and (1 <= casa[1] <= self.colunas):
  3. if not self.casaLivre(tab,casa):
  4. return tab[casa] == 'p' or tab[casa] == 'b'
  5. else:
  6. return False
  7. else:
  8. return False
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement