- self.add(TextWidget((50, 50), 'You won!', colour=PALETTE.WHITE))
- self.add(TextWidget((50 + 64, 50), 'CHEATER!', colour=PALETTE.ORANGE))
+
+ background = ImageBox(
+ (0, 0), "screens/you_won.png")
+ self.add(background)
+
+ y_offset = 250
+
+ if self.state.gameboard.has_cheated:
+ self.add(TextWidget(
+ (50, y_offset), 'But you\'re a CHEATER!', colour=PALETTE.ORANGE))
+ y_offset += 50
+