Oct 15 2006

Paddle with no name

PaddleWithNoName is a mobile j2me breakout style game created back then when I actually had this thing called spare time and wanted to learn about the new (then) J2ME lib.
The game works, though I didn’t test it on different devices etc. It also runs on Palm but it’s quite slow there. I’ve never got round to polish/optimize/bug fix this game, so don’t expect anything to write home about.
It’s got multi hit bricks, powerups, glorious technocolour and, a paddle!!!
I never got round to naming the bloody thing. Hence the no-name name.
If I ever find the source code, I’ll post it here.
PaddleWithNoName screenshot PaddleWithNoName screenshot PaddleWithNoName screenshot

Download Jar file

Download Jad file

Download Palm PRC file


Oct 15 2006

Image2Ascii

I’ve uploaded an old servlet I’ve done years ago. It converts a given GIF or JPG image to Html or Ascii. Each pixel is substituted with a character with the same colour. You can also have a whole sentence repeated instead of a single character. And if that doesn’t floats your boat – you can convert the image to Html table where each TD cell is a ‘pixel’.
The servlet is configurable by a properties file and accepts its input parameters via the url query string. A more proper implementation would have been a simple Java object and if I find the time, I will convert it to that.
I can’t really think of practical applications for this servlet. Its more of a novelty.
Batteries not include, Source code is.

Image2Ascii.java
Image2Ascii.properties


Oct 11 2006

How to Disable the Browser Back Button

Its quite simple to disable the back button functionality of a browser (this was tested on IE and Firefox).

if (window.history) {
window.history.forward(1);
}

This causes every back to return with a forward. Works a treat ;o)