Class: SeedList::Strategy::Knockout

Inherits:
Base
  • Object
show all
Defined in:
lib/seed_list/strategy.rb

Overview

Players matched against each other at random. A player’s seed position is completely irrelevant.

Instance Attribute Summary

Attributes inherited from Base

#players

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from SeedList::Strategy::Base

Instance Method Details

#seedObject



21
22
23
# File 'lib/seed_list/strategy.rb', line 21

def seed
  @players.shuffle
end