Giter Site home page Giter Site logo

rgbot's Introduction

RGBot 🐓 (Rinha de Galo BOT)

heroku

python godot

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.