This routine has an interesting history.
Originally it was a Fortran application. Unfortunately, I don't have
the names of the authors nor did I have access to the source code. I
disassembled the object module and converted it to C. Later I made a
conversion to C++. To place it on a web page, I had to convert it to
Java and then turn it into an applet. The results are displayed here. Answer "YES" to the question: "Have you
played before?" otherwise the applet will terminate, and the page has
to be reloaded.
I do have a copy of the original documentation. That documentation (see <StarTrek.doc.html>) still does not mention the original authors.