1
0
Fork 0

feat: start the machine in the menu state

This commit is contained in:
Henrik Hautakoski 2025-09-21 12:18:52 +02:00
parent b8397aefdb
commit cae34a52aa

View file

@ -38,7 +38,7 @@ func main() {
fsm.Register("menu", &handlers.Menu{})
fsm.Register("gameover", &handlers.GameOver{})
fsm.Register("gameplay", handlers.NewGamePlay())
fsm.Start("gameplay")
fsm.Start("menu")
// Enter game loop
for !rl.WindowShouldClose() {