Skip to content

Latest commit

 

History

History
89 lines (49 loc) · 1.8 KB

README.md

File metadata and controls

89 lines (49 loc) · 1.8 KB

Infinity Arcade

create and play any game

infinityarcade-product

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.

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
  1. 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
  1. Install dependencies:
npm install
  1. 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.

Authors

License

This project is licensed under the MIT License - see the LICENSE file for details.