Returns a number describing the max index of the player.
number
function getPlayerMaxIndex(state) { return Math.ceil(state.player.maxIndex); }