added implementation in GO lang

This commit is contained in:
2026-05-22 13:00:28 +02:00
parent 67ee6c268c
commit ddac1d02cd
21 changed files with 1447 additions and 0 deletions

23
main.go Normal file
View File

@ -0,0 +1,23 @@
package main
import (
"log"
"github.com/hajimehoshi/ebiten/v2"
"kidskeyboard/internal/app"
)
func main() {
cfg := app.ParseConfig()
game := app.New(cfg)
ebiten.SetWindowTitle("KidsKeyboard")
ebiten.SetWindowSize(cfg.WindowWidth, cfg.WindowHeight)
ebiten.SetWindowResizingMode(ebiten.WindowResizingModeEnabled)
ebiten.SetFullscreen(cfg.Fullscreen)
if err := ebiten.RunGame(game); err != nil && err != ebiten.Termination {
log.Fatal(err)
}
}