Thanks to visit codestin.com
Credit goes to github.com

Skip to content
/ AJTU Public

An AI driven procedural text based sci-fi adventure

License

Notifications You must be signed in to change notification settings

au-re/AJTU

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A Journey Through the Unkown

An AI driven procedural text based sci-fi adventure, play it here: https://ajtu-dd6e7.web.app/

Itch.io page: https://au-re.itch.io/a-journey-through-the-unknown

The game idea was generated by ChatGPT:

A Journey Through the Unknown

In the game, you play as a member of a space exploration team that has been sent to a distant planet to search for alien life and valuable resources. The catch is that the planet's environment is constantly changing and unpredictable, so the AI on your > spaceship must generate new environments, creatures, and events in real-time.

As you explore the planet, you will encounter strange creatures, mysterious ruins, and unexpected challenges. You will have to make choices that affect the outcome of the story, and interact with the AI system to gather information, solve puzzles, and > uncover the secrets of the planet. The AI system will respond to your actions and create a unique story based on your choices.

The images and music in the game will also be generated by AI, creating a unique visual and auditory experience for each playthrough. The music will adapt to your actions and the changing environments, creating a dynamic and immersive soundscape.

With procedurally generated content, no two playthroughs will be the same, making "AI Exploration: A Journey Through the Unknown" a new and exciting sci-fi adventure every time you play.

Overview

This project is setup to be deployed on firebase. To deploy this repo you should create your own firebase project and replace the project name here .firebaserc. Note: to be able to use cloud functions you need to upgrade your billing plan to Blaze.

You will need the firebase-cli installed and to be logged in to firebase in order to deploy the service. For more information check the firebase quickstart: https://firebase.google.com/docs/web/setup

Setup

In the website and the functions folders install the project dependencies with

npm i

In the functions folder add your Prompt Studio api key into an .env file.

Install the firebase cli on you machine.

Uploading to cloud storage

Images are uploaded to cloud storage after they are generated, for this to work you will need to add a service-account-key if you want to test the functions locally. You can create your service-account-key here: https://cloud.google.com/iam/docs/creating-managing-service-account-keys#creating

Add your service account key for firebase in functions/src/service-account-key.json

Run website

You can run the website locally with:

npm start

Run cloud functions locally

To be able to fetch the chapters you need to run the cloud functions locally first. To do that, you need to run the following command from the functions folder:

npm run serve

About

An AI driven procedural text based sci-fi adventure

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published