import { ServerGame } from "../../types/types" ; import { randomBytes } from "crypto" ; import { RocketcrabMode } from "../../types/enums" ; const game = { id : "qwiqwit" , name : "QwiqWit" , author : "Paul Wind & TypesInCode" , description : "In QwiqWit, there's no right or wrong answers. Just enter what you think is funny. Your answers will go head-to-head against other players. The rest of the players in the room will vote on their favorite answer. Be sure to vote! It could be worth extra points (eventually)." , displayUrlText : "qwiqwit.com" , displayUrlHref : "https://www.qwiqwit.com/" , donationUrlText : "Buy the developers a coffee!" , donationUrlHref : "https://www.buymeacoffee.com/qwiqwit" , category : [ "easy" ] , players : "3-25" , showOn : [ RocketcrabMode . MAIN ] , pictures : [ "https://i.imgur.com/5mX4zf7.jpg" , "https://i.imgur.com/cPZFcYr.jpg" , "https://i.imgur.com/690VrZJ.jpg" , "https://i.imgur.com/X4BZKmA.jpg" , ] , connectToGame : async ( ) => { return { player : { url : "https://www.qwiqwit.com/autojoin/" + randomBytes ( 8 ) . toString ( "hex" ) , } , } ; } , } ; export default game ;