func MinimalStarterConfig(dirOrFile string) *Config {
	base := &RawConfigMode{
		ModeCommon: ModeCommon{
			DefaultStorageType: "mysql",
		},
		Games: defaultGamesNode(),
	}
	dev := &RawConfigMode{
		ModeCommon: ModeCommon{
			AllowedOrigins:       "http://localhost:8080",
			DisableAdminChecking: true,
			Storage: map[string]string{
				"mysql": "root:root@tcp(localhost:3306)/boardgame",
			},
		},
	}
	return starterConfig(dirOrFile, base, dev, nil)
}
MinimalStarterConfig returns a minimal config starter point, with minimal
settings you might want to set. dirOrFile will be used to give the path
name, using DefaultFileNames. Leave "" for default.
package config
import (
	"path/filepath"
)
var defaultFirebase = &FirebaseConfig{
	APIKey:            "AIzaSyDi0hhBgLPbpJgprVCDzDkk8zuFpb9XadM",
	AuthDomain:        "example-boardgame.firebaseapp.com",
	DatabaseURL:       "https://example-boardgame.firebaseio.com",
	ProjectID:         "example-boardgame",
	StorageBucket:     "example-boardgame.appspot.com",
	MessagingSenderID: "138149526364",
}
func defaultGamesNode() *GameNode {
	baseDir := "github.com/jkomoros/boardgame/examples"
	games := []string{
		"blackjack",
		"checkers",
		"debuganimations",
		"memory",
		"pig",
		"tictactoe",
	}
	var fullList []string
	for _, game := range games {
		fullList = append(fullList, filepath.Join(baseDir, game))
	}
	return NewGameNode(fullList...)
}
func DefaultStarterConfig(dirOrFile string) *Config {
	base := &RawConfigMode{
		ModeCommon: ModeCommon{
			DefaultStorageType: "mysql",
			Firebase:           defaultFirebase.copy(),
		},
		Games: defaultGamesNode(),
	}
	dev := &RawConfigMode{
		ModeCommon: ModeCommon{
			AllowedOrigins:       "http://localhost:8080",
			DisableAdminChecking: true,
			Storage: map[string]string{
				"mysql": "root:root@tcp(localhost:3306)/boardgame",
			},
		},
	}
	return starterConfig(dirOrFile, base, dev, nil)
}
func SampleStarterConfig(dirOrFile string) *Config {
	base := &RawConfigMode{
		ModeCommon: ModeCommon{
			DefaultStorageType: "bolt",
			GoogleAnalytics:    "UA-321674-10",
			Firebase:           defaultFirebase.copy(),
		},
		Games: defaultGamesNode(),
	}
	dev := &RawConfigMode{
		ModeCommon: ModeCommon{
			AllowedOrigins:       "http://localhost:8080",
			DisableAdminChecking: true,
			Storage: map[string]string{
				"mysql": "root:root@tcp(localhost:3306)/boardgame",
			},
		},
	}
	prod := &RawConfigMode{
		ModeCommon: ModeCommon{
			AllowedOrigins: "https://www.mygame.com",
			AdminUserIds: []string{
				"aH1TV07K47RC4mTNCai0ZPnQ9Kd2",
				"uYuZl1jXWXVJ9fEk7mDFifhTGmK2",
			},
			Storage: map[string]string{
				"mysql": "Your production server config goes here, See https://github.com/go-sql-driver/mysql for examples",
			},
		},
	}
	return starterConfig(dirOrFile, base, dev, prod)
}