1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-04-06 22:44:14 +00:00

Finished pool advance logic still need tests

This commit is contained in:
2015-10-14 17:58:28 -04:00
parent 087c383996
commit 386dc1605f
11 changed files with 120 additions and 70 deletions

View File

@@ -17,7 +17,7 @@ class Pool
def roundRobin
matches = []
wrestlers = @weight.wrestlers_for_pool(@pool)
wrestlers = @weight.wrestlersForPool(@pool)
poolMatches = RoundRobinTournament.schedule(wrestlers).reverse
poolMatches.each_with_index do |b, index|
round = index + 1