Quick clean-up of the render. =)

This commit is contained in:
Sacha Ligthert 2023-11-23 22:51:53 +01:00
parent 2009252bb8
commit 47d5a6fb43

View File

@ -6,18 +6,6 @@ import (
"github.com/gdamore/tcell/v2"
)
// func checkSize(screen tcell.Screen) bool {
// var retval bool = true
// x, y := screen.Size()
// if x < 80 {
// retval = false
// }
// if y < 24 {
// retval = false
// }
// return retval
// }
func drawScore(screen tcell.Screen, style tcell.Style, score int) {
var x, y int = 5, 24
for _, r := range []rune("[ Score: " + strconv.FormatInt(int64(score), 10) + " ]") {