fixed off-by-1 on score report
This commit is contained in:
parent
9b82335af1
commit
d0be5d8ac7
|
@ -61,7 +61,11 @@ class Wordle:
|
||||||
placeCursor(9,21)
|
placeCursor(9,21)
|
||||||
put(reset+str(self.number))
|
put(reset+str(self.number))
|
||||||
placeCursor(34,21)
|
placeCursor(34,21)
|
||||||
put("Turn: "+str(min(self.turn+1,6))+"/6"+colors[0])
|
if(self.wonGame()):
|
||||||
|
t=self.turn
|
||||||
|
else:
|
||||||
|
t=self.turn+1
|
||||||
|
put("Turn: "+str(min(t,6))+"/6"+colors[0])
|
||||||
|
|
||||||
def drawKeyboard(self):
|
def drawKeyboard(self):
|
||||||
placeCursor(13,17)
|
placeCursor(13,17)
|
||||||
|
|
Loading…
Reference in New Issue