Automatic result scoring for challonge steemmonster tournamentssteemCreated with Sketch.

in steemmonsters •  21 days ago

I played a little with the powerchallonge API library for challonge.com and created a small bot for letting everyone automatically scoring challenge results into the challonge tournament.

How does it work?

At first, a new tournament should be created at https://challonge.com/tournaments/new:

image.png

The entered name in URL is the identifier and will be important later.
It is important that every participant changed their displayed name to the steem account name. The challonge username can be different.

Their is no limitation to the game info or the registration. Example of a single elimination tournament with a registration page and check in:
image.png

image.png

Important are the advanced options. Everything works only if smtournament is added as admin for entering scoring:
image.png
Without this, automatic scoring is not possible.

In summary:

  • create a new tournament
  • remember your url
  • add smtournament as admin

Send now a transfer memo to the steem account @smtournament with follwoing text:
identifier,level_limit,allowed_cards,match_type

  • identifier is the URL without challonge.com, in my example sm_test_tournament_010
  • level_limit can be Novice, Bronze, Silver, Gold or Diamond
  • allowed_cards can be all, gold_only, alpha_only
  • match_type can be best_of_one or best_of_three

level_limit and allowed_cards define which challenges will count. They have to be set at the beginning of each challenge. Played challenges with not fitting values will not count.

When match_type is best_of_one, one win is sufficient to win a match. If the match was a draw, it is repeated.
If it is set to best_of_three, a participant has won the match when he wins 2 steemmonster challenges.

Test if it works as intented

I created a new tournament which is played today 14:00 UTC. Checkin is opened 15 minutes before.
I set level_limit to Silver, allowed_cards to all and match_type to best_of_one.

You can find the tournament here: https://challonge.com/sm_test_tournament_010

I send 0.001 STEEM to @smtournament for registering my tournament:
image.png

When I start the tournament at challonge.com, I will receive a transfer from @smtournament when everything has worked so far and the results of all played matches should be entered automatically.

Summary

It is possible to register a challonge tournament for automatc scoring.

  • Create a tournament with smtournament as admin
  • Send a transfer memo to @smtournament
  • Start the tournament and check if you receive a confirmation
  • All results should be entered automatically now.
  • When a participant has a displayed name different from the steem account name, the results of all matches in which this participant is involved must be entered manually (_ are fine)
  • When all matches are played, the tournament at challonge has to be closed manually

Please register at https://challonge.com/sm_test_tournament_010 and help me checking if everything works :). The tournament starts at 14:00 UTC.


What do you think?

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

Nice work @holger80 - was great testing yesterday

I am an automatic upvote bot, only for #steemmonsters, #steemmonster. If i liked your post, you will get an upvote. Only for Steemmonsters. Once a day, i published the posts, that have recieved an upvote.

This sounds really cool, I'm always in favor of some nice automation! I'll enter your test tournament and we'll see if it works.

Thank you so much for participating the Partiko Delegation Plan Round 1! We really appreciate your support! As part of the delegation benefits, we just gave you a 3.00% upvote! Together, let’s change the world!

This could help a lot with organizing the tournaments. Thanks for your good work!

Posted using Partiko Android

Amazing work as always

So how did that tournament go? did it work as expected?

·

Everything worked as expected, only a not intended decline lead to a loosing match.

Hi @holger80!

Your post was upvoted by @steem-ua, new Steem dApp, using UserAuthority for algorithmic post curation!
Your UA account score is currently 7.293 which ranks you at #64 across all Steem accounts.
Your rank has improved 1 places in the last three days (old rank 65).

In our last Algorithmic Curation Round, consisting of 240 contributions, your post is ranked at #3. Congratulations!

Evaluation of your UA score:
  • Your follower network is great!
  • The readers appreciate your great work!
  • Great user engagement! You rock!

Feel free to join our @steem-ua Discord server

I think you are amazing!!! Wow! I cannot wait to see this! I did it for a Fierce Friday challonge Tournament tomorrow at 8 PM EST but I am not sure if it worked. I am so excited to use this!! Thanks so much!
Flesh Golem (853px, 5fps).gif

·

Thank you for trying the smtournament helper.
The url-identifier needed to be given in the transfer memo and not the tournament name.

I corrected it, I replaced steem-monsters-fierce-friday-tournament by 2xtncnly

Your tournament is ready to go :)

·
·

Oh! I see now! I knew I was doing something wrong. Thank you so much! I cannot wait until later to see this, this is really amazing and will make the tournaments run so much faster! Thank you so much!!

Hi, @holger80!

You just got a 2.7% upvote from SteemPlus!
To get higher upvotes, earn more SteemPlus Points (SPP). On your Steemit wallet, check your SPP balance and click on "How to earn SPP?" to find out all the ways to earn.
If you're not using SteemPlus yet, please check our last posts in here to see the many ways in which SteemPlus can improve your Steem experience on Steemit and Busy.