Skip to content

TitanPlayz100/pseudohuman

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PseudoHuman

Multiplayer online game where there is a prompt given, and there are multiple answers all generated by ai. However, there is an imposter among the ai who is actually a human, who will also answer the prompts in real time. The person guessing chooses the answer that they think the person made. This repeats with the roles swapped probably around 3 times. Whoever got picked the least loses.

Kind of inspired by the Human Or Not game.

The game is live now hosted here.

The frontend NextJs project is hosted on Vercel using a Supabase database. Backend websocket server hosted on Render.

There is a cron job enabled, which is a repeated task to send a request to a server. This is to keep the server always active, as usually it sleeps every 15 minutes.

The Large Language Models used in this project are from Cohere and from Google's Gemini.

Particle backgrounds

TODO:

  • story creation gamemode

Others:

  • abilities
  • now playing song display
  • improve speed of checking answer
  • change points system to cash system
  • add ability to create custom rooms for 2 people
  • redesign front end
  • timer for each players turn
  • stop copy paste ai answer as own answer
  • add anon accounts
  • integrate the AI api into the app
  • show lifetime score
  • stop server sleeping
  • store the answers that both the user and ai provide in a long term database
  • find a free or cheap ai api to use
  • find a free server host https://render.com
  • frontend hosting
  • handle when user disconnects
  • create ui for login
  • create ui for home screen
  • create ui for the start of game
  • create ui for playing the game
  • create ui for end of game
  • create login system
  • create matchmaking system
  • start a game when 2 people are available
  • create text prompts
  • get ai answers to question
  • get first players own answer to question, and then display ai and players answers to player 2
  • get player 2s answer and see if they were right or wrong
  • add the scores to a total
  • repeat this process multiple times
  • end the game after a player reaches 3 points, awarding that player a win
  • allow for multiple games to run at once

Hi!