Skip to content

LifeRPGGame/LifeRPG

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LifeRPG

LifeRPG is an open-source task management application based on gamification techniques, specifically those used in role-playing games (RPGs) works in Telegram

sublogo

wakatime


🕹 Game Attributes

Your character will possess the following game attributes:

  • Levels
  • Hearts
  • Power
  • Experience points
  • Coins

⚡ Features

  • Create your own Locations
  • Create your own Quests with rewards
  • Fight mobs in battles
  • Enhance your real-life experiences
  • Monitor the actual progress of your journey

⚙ Getting Started

If you want to run, edit or improve this code - just follow these steps.

Clone repository:

git clone https://github.com/LifeRPGGame/LifeRPG.git

Change catalog:

cd LifeRPG

Create .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 NAME

Activate poetry environment:

poetry shell

Install dependencie:

poetry install

Run your bot:

python3 bot.py

Open your Telegram bot and enjoy :3

⭐ For contributers

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_NAME

Switch branch:

git switch NEW_BRANCH_NAME

After your changes push these.

Create a Pull Request.

About

Task Manager & RPG Game

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages