Max Index

Returns a number describing the max index of the player.

Syntax

function getPlayerMaxIndex(state) {
  return Math.ceil(state.player.maxIndex);
}