import { ServerGame } from "../../types/types" ; import { RocketcrabMode } from "../../types/enums" ; import { randomBytes } from "crypto" ; const game = { id : "protobowl" , name : "Protobowl" , author : "Kevin Kwok" , description : "Quizbowl practice" , displayUrlText : "protobowl.com" , displayUrlHref : "https://protobowl.com/" , category : [ "trivia" , "medium" ] , players : "1+" , showOn : [ RocketcrabMode . MAIN , RocketcrabMode . KIDS ] , connectToGame : async ( ) => { const id = randomBytes ( 8 ) . toString ( "hex" ) ; return { player : { url : "https://protobowl.com/rocketcrab-" + id } , } ; } , } ; export default game ;