LifeRPG is an open-source task management application based on gamification techniques, specifically those used in role-playing games (RPGs) works in Telegram
Your character will possess the following game attributes:
- Levels
- Hearts
- Power
- Experience points
- Coins
- Create your own
Locations - Create your own
Questswith rewards - Fight mobs in battles
- Enhance your real-life experiences
- Monitor the actual progress of your journey
If you want to run, edit or improve this code - just follow these steps.
Clone repository:
git clone https://github.com/LifeRPGGame/LifeRPG.gitChange catalog:
cd LifeRPGCreate .env file in src catalog and fill by your data:
BOT_KEY='HERE YOUR TOKEN by BotFather'
LOG_TOKEN='OPTIONAL'
MODERATOR_ID='TELEGRAM ID FOR MODERATOR'
POSTGRESQL_HOST='HERE HOST'
POSTGRESQL_PORT=HERE PORT
POSTGRESQL_USER=HERE USER
POSTGRESQL_PASSWORD=HERE PASSWORD
POSTGRESQL_DBNAME=HERE DATABASE NAMEActivate poetry environment:
poetry shellInstall dependencie:
poetry installRun your bot:
python3 bot.pyOpen your Telegram bot and enjoy :3
If you're interesting about the project - follow these steps.
Make a fork by a Fork button.
Clone your fork to your local.
Create a new branch for changes:
git branch -m NEW_BRANCH_NAMESwitch branch:
git switch NEW_BRANCH_NAMEAfter your changes push these.
Create a Pull Request.
