Round: factored out code from Player.js #28