func (g *Game) drawGameTick() {
	g.ui.Reset()
	if g.ui.theme.IsBgShown() {
		g.ui.drawBackground()
	}
	g.ui.drawOverlay()
	g.ui.drawScores(*g.players)
	g.ui.drawPlatforms(*g.players)
	g.ui.drawBall()
	if g.state == gameStatePaused {
		g.drawLegend()
	}
}
Draw the GUI for the current game tick. Doesn't update the terminal.
package main
import (
	"strconv"
	"github.com/gdamore/tcell"
)
func (g *Game) updateTerminal() {
	g.ui.Paint()
}
func (g *Game) drawGUI() {
	if g.started {
		g.PerformGameTick()
	} else {
		g.PerformStartMenuTick()
	}
}