jbilcke-hf's picture
jbilcke-hf HF staff
adding more context to help llama2
e66b0b0
raw
history blame contribute delete
822 Bytes
import { GameType } from "./types"
import { game as pirates } from "./pirates"
import { game as city } from "./city"
import { game as dungeon } from "./dungeon"
import { game as doom } from "./doom"
import { game as vernian } from "./vernian"
import { game as enchanters } from "./enchanters"
import { game as flamenco } from "./flamenco"
import { game as pharaoh } from "./pharaoh"
import { game as tensor } from "./tensor"
import { game as nexus } from "./nexus"
import { game as arizona } from "./arizona"
import { game as trulad } from "./trulad"
export const games = { arizona, pirates, city, dungeon, doom, vernian, enchanters, flamenco, pharaoh, tensor, nexus, trulad}
export const defaultGame: GameType = "enchanters"
export const getGame = (type?: GameType) => games[type || defaultGame] || games[defaultGame]