Move check out the loop.
Add :+1: to MAX_PLAYERS for the sake of convenience.