infinite-adventure-engine is a desktop app for running an AI Studio adventure game on your Windows PC. It lets you start the app, enter your Gemini API key, and play through an interactive story with AI-driven scenes.
Use it if you want to:
- run the app on your own computer
- load your story setup in one place
- play a text-based adventure with AI responses
- keep the app on your PC for quick access
Visit this page to download the latest Windows release:
Download infinite-adventure-engine from GitHub Releases
On the releases page, look for the latest version. Download the Windows file that matches your PC. If you see a ZIP file, save it to your computer and open it after the download finishes.
Follow these steps on Windows:
- Open the release page and download the latest version.
- If the file is a ZIP, right-click it and choose Extract All.
- Open the extracted folder.
- Find the app file, such as an
.exefile. - Double-click the file to start the app.
If Windows asks for permission, choose Yes or Run anyway if you trust the file and downloaded it from the release page.
The app needs your Gemini API key before it can run.
-
Open the app folder.
-
Look for a file named
.env.local. -
Open the file in Notepad.
-
Add your key in this format:
GEMINI_API_KEY=your_api_key_here -
Save the file.
-
Close Notepad and start the app again.
If you do not have a Gemini API key yet, create one in your Google AI Studio account, then copy it into the file.
After you add the API key:
- Open the app again.
- Wait for it to load.
- Enter any setup details the app asks for.
- Start your adventure.
If the app opens in a browser window, leave that window open while you use it.
You do not need much to run this app, but your computer should have:
- Windows 10 or Windows 11
- Enough free space for the app files
- An internet connection for AI features
- A valid Gemini API key
For best results, use a recent Windows PC with stable internet.
If you are using the app files from the source project instead of a release, you need Node.js.
-
Install Node.js on your PC.
-
Open the project folder.
-
Install dependencies with:
npm install -
Add your Gemini API key to
.env.local:GEMINI_API_KEY=your_api_key_here -
Start the app with:
npm run dev
This mode is for users who want to run the app from the project files.
After the app starts, you can usually:
- begin a new adventure
- read story text on screen
- choose from available options
- enter your own actions or responses
- continue the story one step at a time
Keep your API key in place so the app can talk to Gemini when it needs story output.
- Check that you downloaded the latest release
- Make sure you opened the right file
- Try extracting the ZIP file again
- Right-click the app file
- Select Properties
- If you see Unblock, select it
- Click Apply
- Try opening the app again
-
Open
.env.local -
Check that the line uses this format:
GEMINI_API_KEY=your_api_key_here -
Make sure there are no spaces before or after the key
- Check your internet connection
- Confirm your Gemini API key is valid
- Close the app and open it again
After you extract the download, you may see files like these:
- an app file to open
- a
.env.localfile for your API key - folders with app data
- support files used by the app
Do not rename files unless the app instructions ask you to do so.