README Origins: 3n+1 (also known as Collatz conjecture) is a math game by German mathematician Lothar Collatz, introduced in 1937. Original rules: In the beginning, you must choose a natural number (1, 2, 3 etc.). If it is even then it will be divided by 2 and if it is odd then it will be multiplied by 3 and added to 1. This rule will repeat again and again. Sooner or later this number will enter the loop 4-2-1-4. Why? No one knows. It is the mystery of this game. It is the riddle that still isn’t solved. Added rules: In my variation the game ends when your number becomes 1. After it happens you can see the path made by your number, the starter number, the top number from this path and number of turns survived by your number. Your can also see your score (which is equal to top number multiplied by turns survived and divided by the starter number) and the world record (which is equal to the highest score ever gotten by anyone who has played this game). Turbo mode: If you want to see results quickly - play in turbo mode! Unfortunately, seagulls doesn’t appear in turbo mode, but it makes it even better if you hate seagulls in this game! Decorations: The background with parallax, the seagulls and of course the soundtrack are used by me to decorate the game! Do you like it? Cheating: If you will chooce a number that isn’t natural, it will cause weird things. Odd or even number below 1 (0 or negative numbers) will never rise high enough to end the game. Any number that is neither odd or even will be identified as odd and it will rise forever and the game won’t end. Happily, in both of these situations you won’t get a score and your cheating won’t effect on the world record
Thanks to Lothar Collatz (the creator of the game) and thanks to everyone who has made a 3n+1 project before me! Also - thanks to the whole scratch community for being kind and peaceful. Have a nice day!