vbetsch / rpg

🎮 A Console Role Play Game in buildings

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RPG

A role play game

Install

  1. Clone the repository

    git clone https://github.com/Reyfey/rpg.git
  2. Run seeder.sql to generate database

    mysql -u [user] -p[password] <  db/seeder.sql
  3. Run data.sql if you want testing data

    mysql -u [user] -p[password] <  db/data.sql
  4. Copy the example configuration file

    cp database.example.json database.json

    and replace the parameters to connect to your database

  5. (Optional) Create virtual environment for python

    python -m venv venv
    chmod +x venv/bin/activate
    ./venv/bin/activate
  6. Install the dependencies

    pip install -r requirements.txt
  7. Finally, run and enjoy :)

    python main.py

About

🎮 A Console Role Play Game in buildings


Languages

Language:Python 100.0%