Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/themaximalist/infinityarcade
Create any Text Game with AI
https://github.com/themaximalist/infinityarcade
ai arcade game-generator gpt-4 llm text-game
Last synced: 1 day ago
JSON representation
Create any Text Game with AI
- Host: GitHub
- URL: https://github.com/themaximalist/infinityarcade
- Owner: themaximalist
- License: mit
- Created: 2023-04-14T00:26:43.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-22T21:50:13.000Z (2 months ago)
- Last Synced: 2024-12-26T01:09:00.202Z (8 days ago)
- Topics: ai, arcade, game-generator, gpt-4, llm, text-game
- Language: JavaScript
- Homepage: https://infinityarcade.com
- Size: 79.3 MB
- Stars: 63
- Watchers: 3
- Forks: 14
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Infinity Arcade
> create and play any game
![infinityarcade-product](infinityarcade-product.png)
[Infinity Arcade](https://infinityarcade.com/) is a game that can create any game. It uses GPT-4 to create interactive text games based on the users prompts. It also calls Stable Diffusion to generate game art. It's open source and can be installed on your computer (mac, windows, linux) or played at [https://infinityarcade.com](https://infinityarcade.com).
## Features
- Uses GPT-4 and AI to create any game text-based game
- Uses Stable Diffusion to generate game art
- Open source### Prerequisites
To run InfinityArcade locally, you'll need:
- Node.js
- PostgreSQL
- OpenAI API key
- Replicate or Stability API key### Installing
1. Clone the repository:
```
git clone https://github.com/username/InfinityArcade.git
cd InfinityArcade
```2. Create a `.env` file in the root directory with the following content:
```
OPENAI_API_KEY=your_openai_api_key
REPLICATE_API_KEY=your_replicate_api_key
STABILITY_API_KEY=your_stability_api_key
DATABASE_URI=postgres://username:password@localhost:5432/infinityarcade
DEBUG=ia:*
PORT=3000
NODE_ENV=development
AI_MODEL=gpt-4
AI_IMAGE_MODEL=stability
```3. Install dependencies:
```
npm install
```4. Run the project in development mode:
```
npm run dev
```The application will now be running at `http://localhost:3000`.
## Contributing
To contribute to the project, please create a pull request.
## Demo
A live demo is available at [https://infinityarcade.com](https://infinityarcade.com).
## Authors
- The Maximalist - [[email protected]](mailto:[email protected])
## License
This project is licensed under the MIT License - see the [LICENSE](https://github.com/themaximal1st/InfinityArcade/blob/main/LICENSE.md) file for details.