Client initial commit.
This commit is contained in:
20
client/main.go
Normal file
20
client/main.go
Normal file
@@ -0,0 +1,20 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"client/game"
|
||||
"log"
|
||||
|
||||
"github.com/hajimehoshi/ebiten/v2"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
||||
game := game.NewGame()
|
||||
ebiten.SetWindowSize(640*1.5, 480*1.5)
|
||||
ebiten.SetWindowTitle("game")
|
||||
|
||||
err := ebiten.RunGame(game)
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user