js-cardgame needs lowercase 'Z' and 'N'

This commit is contained in:
Stefan Rupp 2021-01-20 17:52:47 +01:00
parent 7ebff627eb
commit 7271267952

View File

@ -26,7 +26,7 @@ class Card:
if self.color and self.color != '-':
s = "{}{:02d}".format(self.color, self.value)
else:
s = "{}{}".format(self.value, self.idx)
s = "{}{}".format(self.value.lower(), self.idx)
return s