1
0
mirror of https://github.com/maaslalani/gambit.git synced 2024-11-24 08:22:12 +02:00
gambit/main.go
2021-12-24 18:58:20 -05:00

22 lines
285 B
Go

package main
import (
"log"
tea "github.com/charmbracelet/bubbletea"
"github.com/maaslalani/gambit/game"
)
func main() {
p := tea.NewProgram(
game.InitialModel(),
tea.WithAltScreen(),
tea.WithMouseCellMotion(),
)
err := p.Start()
if err != nil {
log.Fatal(err)
}
}