No commit activity in last 3 years
No release in over 3 years
With the utmost thanks to Ryan Bates for his excellent rubywarrior, this small addition adds the ability for the rubywarrior to publish level results out to a webserver. We wanted this ability to add a small competitive aspect for the Christchurch Ruby group. We hope that others will come to enjoy the wonderful fun that battling monsters with ruby can be. Pull requests very welcome :)
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.6
>= 0.9.12
>= 0
~> 2.14

Runtime

~> 0.13
~> 0.1.3
 Project Readme

ScoreboardRubywarrior

This gem monkey patches ruby-warrior to allow scores to be automatically posted to a webserver (currently https://rubywarrior.herokuapp.com/)

There is plenty of scope for improving the metrics etc, so please feel free to add your (tested?! ;) patches and send them our way.

The website code is also open sourced at https://github.com/ruby-meetup-resources/rubywarrior_scoreboard

Installation

$ gem install scoreboard_rubywarrior

Usage

Please see Ryan Bates' instructions on the original ruby-warrior

Endpoint

The website where the scores can be viewed (and source inspected etc.) is available on github by default, the scoreboard_rubywarrior will post to the demo herokuapp at http://rubywarrior.herokuapp.com/scores .

If you want to post to your own custom website for your own meetup, all you need to do is create a .scoreboard_endpoint file in the root of the rubywarrior directory (so in the same directory as player.rb) and fill in the URL that you want the scores to be posted to.

Contributing

  1. Fork it ( https://github.com/ruby-meetup-resources/scoreboard_rubywarrior/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Thanks

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