main.go
278 bytes
1package main
2
3import (
4 "github.com/gen2brain/raylib-go/raylib"
5
6 "gitea.theedgeofrage.com/theedgeofrage/yeetris/game"
7)
8
9func main() {
10 game := game.Game{}
11 game.Init()
12
13 rl.SetTargetFPS(60)
14
15 for !rl.WindowShouldClose() {
16 game.Update()
17 game.Draw()
18 }
19
20 rl.CloseWindow()
21}