GithubHelp home page GithubHelp logo

cobblebot's People

Contributors

inertia186 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

kagamul

cobblebot's Issues

Issue with Bundler during installation

Hi. I've been trying to install Cobblebot recently, and when I get to the command:
bundle install
I receive the following error:

Don't run Bundler as root. Bundler can ask for sudo if it is needed, and
installing your bundle as root will break this application for all non-root
users on this machine.
The latest bundler is 1.16.1, but you are currently running 1.15.1.
To update, run gem install bundler

Could not locate Gemfile

When I attempt to update Bundler, it updates successfully, though I still receive the same error where it fails to find the Gemfile. For reference, I'm running Ubuntu artful 17.10. Thanks!

Slack Bot Special Characters

Specifically happening in SlackBot#realtime, messages received in data["text"] appear to contain non-ascii characters, for example, apostrophe. Example of real-time packet received:

{"type"=>"message", "channel"=>"REDACTED", "user"=>"REDACTED", "text"=>"@cb say test itΓÇÖs test", "ts"=>"1447625517.000851", "team"=>"REDACTED"}

CobbleBotError

The pattern for reraising exceptions as CobbleBotError doesn't work correctly.

PVP Pools

As a player, I would like to contribute tokens to a PVP pool, so that there's an incentive to engage in battle on the server.

A PVP Pool is created and funded by players on the server using tokens contributed by players who want to engage in PVP. Funds are transferred on the STEEM platform. As such, participants of any PVP Pool must have STEEM accounts.

A PVP Pool is an off-chain record that tracks contributions. For example, Alice creates a PVP Pool and funds it with 1.000 STEEM. Bob joins the pool and funds it with 1.000 STEEM. Alice and Bob battle in PVP and Bob wins. Bob receives 2.000 STEEM (minus rake).

A PVP Pool is not limited to two players, but are evaluated in total with the two latest player battles. For example, Alice creates a PVP Pool and funds it with 1.000 STEEM. Bob joins the pool and funds it with 1.000 STEEM. Charlie joins the pool and funds it with 1.000 STEEM. Alice and Bob battle in PVP and Bob wins. Bob receives 3.000 STEEM (minus rake).

AC

  • one player can be optionally linked by one STEEM account
  • a PVP Pool is created by a player that is linked to a STEEM account
    • each PVP Pool is identified by UUID
  • any player that is linked to a STEEM account can join a PVP Pool
  • anyone on the STEEM platform (linked to a player or not) can transfer tokens to any PVP Pool
  • any player can part from a PVP Pool they've joined, thereby forfeiting transfers unless they join again
  • for two players in the same pool, the winner of a PVP battle wins the entire pool
  • a server can define a rake that winners pay upon winning a battle
    • the rake can be any percentage from 0 % to 100 %, stored as a Preference called pvp_pool_server_rake
  • create admin tasks
    • admin can edit the pvp_pool_server_rake preference which is copied to each PVP Pool upon creation
      • this means each PVP Pool actually has its own individual rake amount that does not change, even if the original pvp_pool_server_rake preference changes
    • admin can manually resolve disputes on PVP Pools for situations where battles were not properly detected
    • admin can define a contract template stored as pvp_pool_contract_template preference and is copied to each PVP Pool upon creation
      • this means each PVP Pool actually has its own individual contract that does not change, even if the original pvp_pool_contract_template preference changes
    • admin can liquidate abandoned PVP Pools if the criteria are met for a contract

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.