The Java4K competition is a game programmer competition. The goal of the competition is to create the best game possible in Java. So what’s the catch? There is a 4KB limit! That means maximum of 4096 bytes! You can read the competition rules for more details on this.
But why 4KB, and not 8KB or 6KB? The answer to that question is simple. 4KB is the smallest unit of file possible on most operating systems, if you create a file that contains only one character (or one byte) it takes up 4KB on the disk. Along with that fact, mere 4KB seem to be just the right size, anything more and it would matter if you had a good artist doing your graphics or if you had 10x more time than the other developers. 4KB seems to be limitating enough, in other words it’s a perfect fit for 1 person to work on, it wouldn’t be practical for a large team, consisting of programmers and artists, to work on a 4KB game, it makes it more fair.
If you’re interested in creating a game and submitting it into the Java4K competition then we recommend you visit the Java 4K Wiki Page, which should help you understand the fundamentals, and the JavaGaming.org forums, where most of the 4K developers hang out at. You’ll also need to create an account on this site to submit your game.
Link: Java4K