mirror of
https://github.com/maaslalani/gambit.git
synced 2024-11-24 08:22:12 +02:00
22 lines
285 B
Go
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)
|
|
}
|
|
}
|