Class: SeedList::Strategy::Amateur
- Defined in:
- lib/seed_list/strategy.rb
Overview
Matched by similar skill straight through; best on the top, worst on the bottom. Optimized for friendly tournaments with diversely skilled players (to prevent casual players from being knocked out right away).
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from SeedList::Strategy::Base
Instance Method Details
#seed ⇒ Object
54 55 56 |
# File 'lib/seed_list/strategy.rb', line 54 def seed @players.sort { |a,b| a.seed <=> b.seed } end |