AI "Maifa" is coming! As night falls,9 ChatGPT AI players each harbor their own sinister motives. Let's see who will have the last laugh...
Based on phaser3+vue3+typescript, and chatgpt (70% of the code is written by chatgpt).
You can directly experience the demo I deployed on huggingface here Maifa-Agent
Welcome to add stars to my project.
Welome to join my discord group.
AI.mp4
This project is based on Node.js, and you can install the required dependencies by
npm install
# or
yarn
Then you need to configure your own OPENAI_API_KEY
. You can get it from OpenAI API Key. It is recommended that you use a paid account, otherwise you will receive frequency restrictions during use. For details, please refer to OpenAI rate limits
Set it in src/utils/chatgpt.ts
.
const openai_api_key = "OPENAI_API_KEY"
Finally, run the demo
npm run dev
# or
yarn dev
Or you may want to package your project for deployment.
npm run build
# or
yarn build
Chinese is used in this project. And there is no backend service deployed for the time being, which means your apikey may not be safe. If you need other languages or other support, you can join Discord to contact me. Or