wrong fix, it was right on download

This commit is contained in:
JH159753 2022-11-19 02:51:52 -08:00
parent bbe6ac9dd0
commit df3ea20e0b
2 changed files with 3 additions and 1 deletions

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
*.pyc

View File

@ -33,7 +33,7 @@ class Card:
return str((self.color,self.rank))
def is_useless(self, board):
return board[self.color].rank + 1 >= self.rank
return board[self.color].rank + 1 > self.rank
def is_playable(self, board):
return board[self.color].rank + 1 == self.rank