Skip to content

ruby-meetup-resources/rubywarrior_scoreboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RubyWarrior Scoreboard

Basic API call

POST /scores
{
  "warrior_name": "Test Warrior",
  "level_number": 1,
  "level_score": 10,
  "total_score": 10,
  "source_code": "class Player ... end",
  "time_bonus": 0
}

Demo website

The default endpoint, and example site, is available at: http://rubywarrior.herokuapp.com/

scoreboard_rubywarrior gem

Please use the scoreboard_rubywarrior gem in conjunction with this website. It will automatically post results to the endpoint you specify

ENV variables

  • If the HIDE_SOURCE ENV variable is present, source code will be hidden
  • If the HIDE_FLOG ENV variable is present, flog details will be hidden

Thanks

Many many thanks to Ryan Bates for creating the ruby-warrior gem.

About

A website endpoint for the scoreboard_rubywarrior gem

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published