Skip to content

tsbiosky/PlayRPG

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PlayRPG

Install requirements

pip install -r requirements.txt

Set up API keys

Set environment variables:

  • GEMINI_API_KEY
  • ELEVENLABS_API_KEY (required only if you want BGM generation)

Windows (PowerShell)

$env:GEMINI_API_KEY="your_gemini_key"
$env:ELEVENLABS_API_KEY="your_elevenlabs_key"

macOS / Linux (bash or zsh)

export GEMINI_API_KEY="your_gemini_key"
export ELEVENLABS_API_KEY="your_elevenlabs_key"

Run server

python server.py

and you will see this page Homepage

upload or enter you story in the chatbox, it will take a few mins to generate the game (depend on story length),then enter the game in the right list. WASD to move , P to open status Example 1

Todo List

  • Item system
  • NPC Plot presentation

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors