add http handler into play.go

this allows for http game creation
This commit is contained in:
Bhavnoor Singh Saroya 2025-08-18 21:31:31 -07:00
parent 442970f17c
commit e7a4362a66
2 changed files with 250 additions and 48 deletions

View file

@ -22,7 +22,9 @@ var rootCmd = &cobra.Command{
}
func Execute() {
rootCmd.AddCommand(NewPlayCommand())
rootCmd.AddCommand(NewHostCommand())
mapCommand := NewMapCommand()
mapCommand.AddCommand(NewMapListCommand())