What is it?
Provides sophisticated yet easy to understand ranking system with minimum changes to the system. Elo ranking system is heavily used in tournaments, player rankings in chess, sports, leader boards, multiplayer games, ranking of test questions, tasks etc.
Read more about it on wiki
acts_as_elo is very easy to use
gem install acts_as_elo
- Call any of the 3 methods:
class Player include Acts::Elo acts_as_elo end bob, jack = Player.new, Player.new bob.elo_rank # => 1200 jack.elo_rank # => 1200 bob.elo_win!(jack) bob.elo_rank # => 1215 jack.elo_rank # => 1985
Released under the MIT License. See the LICENSE file for further details.