Take charge of your favorite fictional universe. Make decisions that shape its destiny. You're free to do a great job or a terrible one—it's all up to you.

✨ Please rate the game and add any comments if you have ideas! ✨

How it works

This prototype is driven by ChatGPT 3.5 and takes inspiration from the classic 2002 web game "NationStates." This is the first prototype of a concept I've been interested in for a while where I handle the frontend and basic logic and GPT acts as game master.

Common errors

  • The game might hang if it can't connect to the GPT API for some reason. It calls the API every time you request a new issue or get a result.
  • The bars go from 0 to 1 with 1 being good and 0 being bad. GPT controls the bars so any unexpected behaviour will be due to GPT not following orders.
  • I'm a newbie when it comes to configuring servers. Please let me know if you encounter any CORS errors.

--

🆕 GenRealms: Desktop

Download GenRealms: Desktop for Windows below. GenRealms: Desktop allows you to enter your own OpenAI API key and select an endpoint - or enter a custom endpoint.

  • The desktop version will only work if you enter your own API key. You can get one by signing up for the OpenAI API.
  • Only Chat endpoints will work.
  • You will need to choose 'More info -> Run anyway' to get the .exe to work on the Windows popup.
  • Your API key will not be transmitted to me, or saved in any way. It will be used in the web request to OpenAI. This means your OpenAI account will be charged for any usage.

--

Created in 1 week for the "GAME-A-WEEK" jam

What went right?

Thanks to the plugin Chat GPT for Games, Chat GPT integration was seamless and relatively simple to use. I already knew how to securely manage the server interactions for ChatGPT requests.

What went wrong?

Getting ChatGPT 3.5 to produce the kind of questions and evaluations I wanted was a bit of a struggle. It often gave extreme 'good or bad' judgments. Additionally, I ran into CORS issues when I launched the game on Itch, an obstacle I hadn't encountered before. Thankfully, it was a quick fix.

And what did I learn?

I had GPT-4 fine-tune the prompts I was sending to GPT-3.5, and the results were impressively refined. I also learned how to resolve CORS issues for deploying a server-connected game on Itch. But perhaps the biggest takeaway was discovering how effective GPT-4 can be as a coding collaborator.


Updated 7 days ago
StatusReleased
PlatformsWindows, macOS, HTML5
Rating
Rated 4.2 out of 5 stars
(12 total ratings)
Authorlem
GenreSimulation, Interactive Fiction
Made withUnity
Tags2D, ai-generated, artificial-intelligence, Endless, Fangame, Management, Narrative, Text based
Average sessionA few minutes
LanguagesEnglish
InputsMouse

Download

Download
GenRealms_Windows.zip 27 MB
Download
GenRealms_Mac.pkg 36 MB

Development log

Comments

Log in with itch.io to leave a comment.

Cool game, but loading new choices often freezes after some time of gameplay

Thanks, I've had a few reports of this. Will take a closer look.

"rich get richer, we're all just taylor swifts background dancers."

deep

sex land succeeds through BALANCE. I am the avatar.

(+1)

I abolished slavery and gave women rights then immediately lost because my peace reached 0.

10/10

I keep getting "gpt is tired, try again later" pls hel

(+1)

Thanks for letting me know, I'll investigate it tonight. I'm getting the same error.

(+1)

Hey, the problem should be fixed now!

It is thanks!

okay this is really cool esp the game of thrones one imo, I just got to season 7 in it though so not sure if I should have tried it without finishing the show xD didn't give any spoilers per say, but it mentioned something about a "great war" which hasn't came up in the show so idk. either way really cool and fun it's like sort the court but infinite and generated by ai and with custom choices!

What is the reason for this error?

Hi, did you download the file rather than trying to play it on itch.io? I don't think it will run locally because it communicates with a server to fetch the GPT results.

Can you add a place to use my own api key so it doesnt cost you? 

I updated it a while ago to use a lower cost GPT, so feel free to use it as much as you want! I should remove that line about the cost from the description.

You are amazing!

(+4)(-1)

Also really cool game + idea! I loved playing Nationstates, awesome influence!