examples/flappy: Change the spelling: Gameover -> Game over

This commit is contained in:
Hajime Hoshi 2019-10-18 02:15:33 +09:00
parent 87bc2e6f02
commit 00ae15082d

View File

@ -245,7 +245,7 @@ func (g *Game) Update(screen *ebiten.Image) error {
case ModeTitle:
texts = []string{"FLAPPY GOPHER", "", "", "", "", "PRESS SPACE KEY", "", "OR TOUCH SCREEN"}
case ModeGameOver:
texts = []string{"", "GAMEOVER!"}
texts = []string{"", "GAME OVER!"}
}
for i, l := range texts {
x := (screenWidth - len(l)*fontSize) / 2