Inspiration

My girlfriend and I have been long distance for nearly all of COVID and have really enjoyed playing online games together. This is a game we thought would be fun and was inspired by a couple of other games that we like (GeoGuesser and Age of Empires). We wanted to make something that was both really fun and educational.

What it does

History Guesser is an educational game where you are matched with a random figure from history. The goal is to figure out who it is by talking to them. Maybe it is Leonardo da Vinci.. or Genghis Kahn. You have a limited amount of questions you can ask, and will only get limited information back -- so choose wisely!

How we built it

Since you can't actually speak to the real people, we are using OpenAI's davinci AI to act like random historical figures. Behind the scenes, The AI is instructed to be a random person. And then a conversation can be had!

None of the responses to any questions are precanned by us. They are 100% generated by the AI. We just tell the AI to behave like a specific person.

Warning This is powered by AI. Some answers will be off, but most will be accurate. We try our best to accept multple versions of names and places, and everything is case sensitive. Sorry for any typos/mistakes on our part!

Challenges we ran into

OpenAI's AI engines are still in beta and we need to be careful how how we parameterize the engine and ask it questions, or it'll produce very wrong results. Some questions produce a very biased result, and we just need to test for it. For example, the AI engine really wants to say it invented the computer or internet:

Human: Did you invent anything? Genghis Kahn: Yes, I invented the internet.

Accomplishments that we're proud of

We made a full webapp that we can share with anyone (while respecting the rules of OpenAI beta of course).

We're really happy how fun it is!

What we learned

  • Vue JavaScript framework
  • Bulma CSS framework
  • OpenAI API + engines
  • python Flask server

What's next for History Guesser

We want to see how much people like it and how we can improve it. Ultimately we want a game that is fun, educational, and can play with your friends & family.

Built With

Share this project:

Updates