How to restrict a loop to get the value -1 or less in a array loop

26 posts were merged into an existing topic: Arrays and Math.random(), adding new number + or - previous number