Buttons and functionality

Start Game

This will open up the game in a browser for the user to play the game. Topic must first be entered before the game can be played.

Set Topic

Enter any topic for your trivia game. This function will connect to OpenAI and create a game ready to be played.

Set Prize

Enter any amount to set a prize for the winner of the trivia competition.

Clear Game

Clear the game for a new game. This posts a final high scores table and resets all variables except the token.

Last updated