kalamuna/playbox — pull request #70 by soniktrooth (2014-10-20 07:59:50+00:00)
Title: register a winner when the votes meets the 'votes to win'.

Implementing functionality so that once the 'votes to win' threshold is reached the battle is marked as completed, the winner & loser entity references are set. This was needed before the scores page (#41) was able to show any results.