GPT-4 Text Game Arcade
_____ __ _ _ _ _
|_ _| / _(_) (_) | /\ | |
| | _ __ | |_ _ _ __ _| |_ _ _ / \ _ __ ___ __ _ __| | ___
| | | '_ \| _| | '_ \| | __| | | | / /\ \ | '__/ __/ _` |/ _` |/ _ \
_| |_| | | | | | | | | | | |_| |_| | / ____ \| | | (_| (_| | (_| | __/
|_____|_| |_|_| |_|_| |_|_|\__|\__, | /_/ \_\_| \___\__,_|\__,_|\___|
__/ |
|___/
Play Anything
Infinity Arcade 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.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
To run InfinityArcade locally, you'll need:
git clone https://github.com/username/InfinityArcade.git
cd InfinityArcade
.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
npm install
npm run dev
The application will now be running at http://localhost:3000
.
To contribute to the project, please create a pull request.
A live demo is available at https://infinityarcade.com.
This project is licensed under the MIT License - see the LICENSE file for details.