last few tweaks 'fore args

there's still so much fun to be had :D
This commit is contained in:
mehbark 2023-12-24 13:06:43 -05:00
parent 3fda3da4c5
commit 68d2060e3e

View file

@ -600,7 +600,9 @@
((if (square-flagged? mouse-square) sub1 add1) (game-num-flagged game)))
(square-flagged?-set! mouse-square (not (square-flagged? mouse-square))))
(when (and mouse-in-bounds? (or (button-pressed? 'left) (button-pressed? 'middle)))
(when (and mouse-in-bounds?
(not (square-flagged? mouse-square))
(or (button-pressed? 'left) (button-pressed? 'middle)))
(if (and (square-revealed? mouse-square)
(= (square-num-adjacent mouse-square)
(length
@ -717,7 +719,7 @@
(when (game-over? game)
(draw-text "GAME OVER" 0 0 20 (color 255 0 0)))
(when (game-won? game)
(draw-text "A COMPLETER IS YOU 0 20 20" (color 247 231 54))))
(draw-text "A COMPLETER IS YOU" 0 20 10 WHITE)))
#;(draw-mouse-info BLACK)
))
(unload-texture skin)