Create vars maxFails and maxRooms