From cae34a52aa3c4d78607065feb976b98e53a5475c Mon Sep 17 00:00:00 2001 From: Henrik Hautakoski Date: Sun, 21 Sep 2025 12:18:52 +0200 Subject: [PATCH] feat: start the machine in the menu state --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index cce0386..f48c78a 100644 --- a/main.go +++ b/main.go @@ -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() {