Welcome to the Python-based AI Space Simulator Game! This interactive text-based adventure allows players to guide a space traveler named Nova on a quest to find the legendary Star Crystal. The game dynamically adapts to players' decisions, creating a branching narrative with various outcomes.
Before getting started, ensure you have the following:
- Python 3.7 or higher
- OpenAI API Key
- DataStax Astra Database (Cassandra DB)
pip3 install cassandra-driver openai langchain cassioReplace the following variables in tutorial.py with your values:
OPENAI_API_KEYwith your OpenAI API Key.ASTRA_DB_KEYSPACEwith your Astra DB Keyspace.secure-connect-file.zipwith the zip file name you downloaded from Astra DB.connect-token.jsonwith the JSON file name you downloaded from Astra DB.
python3 tutorial.py