A text-based murder mystery game powered by the Google Gemini API.
- Clone the repository:
git clone [your-repository-url]
- Install dependencies:
npm install
- Create a
.envfile: In the root directory, create a file named.envand add your Gemini API key.API_KEY="YOUR_API_KEY_HERE" - Run the server:
The server will start on port 3000.
npm start
- Open the game:
Open your web browser and navigate to
http://localhost:3000.
This project can be deployed to any service that supports Node.js, such as Render, Heroku, or DigitalOcean.
- Set the
npm startcommand. - Add your
API_KEYas an environment variable in the host's settings.