Git Product home page Git Product logo

ajtu's Introduction

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

yarn

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

ajtu's People

Contributors

au-re avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.