Tag Archives: java

Old License Terms

My favorite terms from the old Sun JDK Supplemental License:

4. High Risk Activities. Notwithstanding Section 2, with respect to high risk activities, the following language shall apply: the Software is not designed or intended for use in on-line control of aircraft, air traffic, aircraft navigation or aircraft communications; or in the design, construction, operation or maintenance of any nuclear facility. Sun disclaims any express or implied warranty of fitness for such uses.

Kyru Puzzle, now in applet form!

So I worked on KyruPuzzle for a while tonight, and I was able to get a loose applet version of it put together. Take a look at it over here: Kyru Puzzle Applet.

I added an end of level message that you then have to click to start the next level and I’ve added the tile movement negative scoring, -10 points per tile moved. Those and the conversion to an applet are the only real changes I put it.

Making it into an applet was interesting. I basically just used the main GamePanel but gave it a second constructor so that I could indicate it was running in an applet. When running in an applet the menubar and scoring labels are not displayed so all the needed functionality and information needs to be on the main panel. Basically you can click to start the game and I have the score, level and move until tiles are added displayed above the board.

I think the next thing I need to work on is handling losing on the game so that it gets into the right state to restart. I also want to start to pretty it up with some graphics instead of just AWT drawn rectangles.