https://github.com/williamd1k0/rgbot
Rinha de Galo BOT :rooster:
https://github.com/williamd1k0/rgbot
bot mastodon-bot pillow ponyorm python python3 twitter-bot
Last synced: 12 months ago
JSON representation
Rinha de Galo BOT :rooster:
- Host: GitHub
- URL: https://github.com/williamd1k0/rgbot
- Owner: williamd1k0
- License: other
- Created: 2019-06-20T06:19:36.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2023-10-03T23:51:26.000Z (over 2 years ago)
- Last Synced: 2025-04-07T21:07:03.263Z (about 1 year ago)
- Topics: bot, mastodon-bot, pillow, ponyorm, python, python3, twitter-bot
- Language: Python
- Homepage: https://twitter.com/rinhadegalobot
- Size: 13.2 MB
- Stars: 5
- Watchers: 1
- Forks: 2
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# RGBot :rooster: (Rinha de Galo BOT)



## Introdução
>**NÃO APOIAMOS RINHA DE GALO REAL. NÃO PARTICIPE DE ATIVIDADES ILÍCITAS.**
**Rinha de Galo Bot** é um bot automático onde dois galos aleatoriamente gerados/selecionados são postos para lutar em turnos.
Por ser automático, você não pode influenciar a luta - apenas torça pelo seu galo favorito!
## Como funciona?
- Dois galos são gerados, com **Vitalidade**, **Pontos de Ataque** e **quatro ataques**;
- O bot seleciona, aleatoriamente, um dos galos para atacar o outro;
- O bot seleciona, aleatoriamente, um dos ataques do galo escolhido;
- Cada ataque tem um valor de Pontos de Ataque que são gastos quando usado;
- Se o ataque escolhido não puder ser realizado por falta de Pontos de Ataque, o galo não ataca e perde um turno;
- Vence quem fizer o outro galo perder completamente a Vitalidade.
## Contas ativas
Mastodon: https://botsin.space/@rgbot
Twitter: https://twitter.com/rinhadegalobot
## Desenvolvimento
### Servidor
- Python 3.5+
- PostgreSQL (ou SQLite3)
### Bibliotecas
- pony (ORM/Banco de dados)
- pillow (Manipulador de imagens)
- psycopg2 (PostgreSQL para Python)
- tweepy (Twitter API)
- Mastodon.py (Mastodon API)