You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
386 B
22 lines
386 B
package main
|
|
|
|
import (
|
|
"log"
|
|
|
|
"git.shanti.wtf/shanti/gotris/lib"
|
|
|
|
"github.com/hajimehoshi/ebiten/v2"
|
|
)
|
|
|
|
// Entry point; initialize global state and begin ebiten game loop
|
|
func main() {
|
|
game, err := lib.NewGame()
|
|
if err != nil {
|
|
log.Fatal(err)
|
|
}
|
|
ebiten.SetWindowSize(640, 480)
|
|
ebiten.SetWindowTitle("Gotris")
|
|
if err := ebiten.RunGame(game); err != nil {
|
|
log.Fatal(err)
|
|
}
|
|
}
|