Module: Playoffs
- Defined in:
- lib/playoffs/cli.rb,
lib/playoffs.rb,
lib/playoffs/team.rb,
lib/playoffs/round.rb,
lib/playoffs/loader.rb,
lib/playoffs/series.rb,
lib/playoffs/best_of.rb,
lib/playoffs/version.rb,
lib/playoffs/simulator.rb,
lib/playoffs/basketball.rb,
lib/playoffs/contestant.rb,
lib/playoffs/tournament.rb,
lib/playoffs/random_simulator.rb,
lib/playoffs/tournament/roundable.rb,
lib/playoffs/tournament/bracketable.rb
Overview
typed: strict frozen_string_literal: true
Defined Under Namespace
Modules: Bracketable, Simulator Classes: Basketball, BestOf, Cli, IncorrectTeamCount, InvalidTeamError, InvalidTeamsError, Loader, NotEnoughTeamsError, RandomSimulator, Round, RoundOverError, Series, SeriesOverError, Team, TeamsMustBeUniqueError, Tournament, TournamentOverError
Constant Summary collapse
- VERSION =
'1.0.1'- Contestant =
A contestant is an object that feeds into a series which can either be a winner/loser of another series or a team.
T.type_alias { T.any(Series, Team) }