putting the score right in the center
This commit is contained in:
parent
bd4b7e5e9b
commit
a4bdb5eb7a
|
@ -359,7 +359,7 @@
|
||||||
(local [(define score-text
|
(local [(define score-text
|
||||||
(text (string-append "Score: " (number->string score)) SCORE-TEXT-SIZE "black"))]
|
(text (string-append "Score: " (number->string score)) SCORE-TEXT-SIZE "black"))]
|
||||||
(place-image score-text
|
(place-image score-text
|
||||||
(- (/ BOARD-WIDTH 2) (/ (image-width score-text) 2))
|
(/ BOARD-WIDTH 2)
|
||||||
BOARD-HEIGHT
|
BOARD-HEIGHT
|
||||||
img)))
|
img)))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user