Tag Archives: kyru puzzle

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.