Collatz Game

At one point, I wrote a program to visualize the tree formed by the numbers in the Collatz conjecture. For each number, it draws an arrow to the first number less than it obtained by performing the Collatz procedure on it. I ended up making it so that you could move the numbers around and rearrange them. Then I tried to follow rules for my rearrangement: no arrows can cross, and all numbers must be adjacent orthogonally or diagonally to all the other numbers they are connected to. So, I made it display the arrows red if they didn't satisfy those conditions. The goal is to get to as high a number as you can while satisfying the arrangement rules. There is theoretically a point at which it becomes impossible, but I haven't even been able to get that far. The download link is below. Controls are: <space> to add a number, mouse to select numbers and move them, <alt> to toggle showing which numbers will have no more children, arrow keys to scroll around.

Click here to download the Collatz Game (only runs on Windows). Note: it is an executable file, which you should generally not download from untrusted sources because it can be malware. This is not malware, but you shouldn't take my word for it; scan it with malware detection software before running it.