Infinite Force? Forty-year-old Fortran to the rescue
nbodyphysics.com
nbodyphysics.com
There's a C version but the Fortran version is easier to find.
If I don't have that book, what's a good one to get?
There are others.
Here are an example of licenses, the book has some others, but they are not hugely different:
So all I have to do is simply pirate it and the restrictions don't apply to me?
The "restrictions" are limitations on permissions which do not exist without the license. So, sure, the restrictions don't apply to you, because you have been given no permissions with regard to the work, so there is no point in imposing conditions on those permissions.
Actually it is possible to model the planets using simple mathematical tools and find a space of solution to the problem (have planets that keep staying together) in an analytic or simil-analytic form.
All this can be done on paper, which is actually faster than code integrator but way less cool to watch...
If the problem is "complicated" (a lot of strange, ugly, non analytic equation)but simple you can roughly cut the solution space by hand, assuming a small number of solution.
If the problem is complex all you can do is looking for cycle and equilibrium point using your intuition about the system or being lucky and find a strage attractor (chaotic behavior) slightly moving the parameter.
So, yes, I was to quick writing my reply, you can definitely model the n-body problem, exactly solve it is another beast, check a solution however is still relatively easy...
Maybe an app unto itself!
Here is a reference for an earlier proof with 5 objects: https://en.wikipedia.org/wiki/N-body_problem#cite_note-34
Update: https://en.wikipedia.org/wiki/N-body_problem#Singularities_o...
Note the Android Lite version 2.0 somehow ended up in Occulus mode in the final APK. A fix is uploading to Google play now!
I have no idea how to even turn that on in Unity - so it's a bit of a puzzle!