[Java] Gravity-Blocks
As mentioned in the AdaGraph section, this coding exercise
was finished in Java. In fact, the Java version is quite
different to the Ada one, using Swing to draw the GUI and
having more than one thread for program control. It took
much less time to code, with the finished, working parts of
the first version available as a reference. You may attempt
to play the applet
of the finished version (it fails in all browsers it has
been tested on!) Or if you have some kind of Java RE
installed (which you need anyway) you should have Java Web
Start, which will allow you to
play this Jar version.
(Program provided "as-is", and is not intended to be
fit for any particular use. I hold no responsibility for its
distribution or usage)
Controls: Arrow Keys govern left, right and drop, 'A'
and 'S' rotate anti-clockwise and clockwise respectively.
Space-bar pauses program, 'Q' exits program.