@Damocles Yes, although I would find this quiet interesting to do, this would indeed result in very odd looking code and would be very hard to judge. Judges would have to look through the source code of every game to make sure they don't store anything in another variable. Also, I don't think there would be very many participants for a competition like that. And I don't even wanna think about what a pain it would be to be unable to use a String, but instead be forced to save the ASCII code of every character in an array of intergers. xD
@kappa Yes, I guess that would be the best way indeed, unfortunately, like SHC stated, you have little to no control over the garbage collector and thus it would be very hard to write a game of wich you can be the memory usage stays just under the maximum.
I was just trying to think of a new way of limitation, came up with this idea and thought I'd throw it here and see other peoples opinions. However, I think I am convinced now that this is not going to work at all.