All instructions are on applet. See source file for interesting comments. My high score is 106.