What is Java4K?
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.
This all started back in 2002 when Lloyd Lee (aka mlk) hosted the first contest (2002-2003), which was hosted at JGO (JavaGaming.org) forums and also Sun Microsystem Java forums. A year later the contest was held again, but this time Matt Campbell (aka woogley) managing it. He put up the site javaunlimited.net, where the contest was hosted three times in a row; 2004-2005, 2005-2006 and 2006-2007. Once it became clear that Matt was not going to manage the 2007-2008 competition, then Java4K.com website was kick-started by Arni Arent (aka appel) and Joakim Johnsson (aka jojoh) in December 2008.
Dates & Submission Period
The Java4k 2008 Submission period is over, results will appear on this site before March 14th.
The Java4K 2008 submission period spans from December 1st 2007 and ends February 29th 2008. Results of the competition will be displayed on this site shortly there after.
Usually the submission period is 3 months, spanning december and january and february of the next year.
The rules are as follows:
- The final game package (byte code + resources) must be below or equal to 4096 bytes
- Must be a playable game (cannot be a pointless animation)
- Must be pure Java (no JNI)
- Must be self-contained- no external resources (e.g. loading an image from a website)
- No Pack200
- No external libraries may be used - you must use the libraries that come with the "public" version of the JRE
- No soundbanks may be used because they are not a default part of the "public" JRE. You will have to create your sounds at runtime rather than use MIDIs.
- The game must be startable using Java Webstart. (see below for more details)
- The target JRE is 1.5 (Java 5) or lower
- Must not be identical to a game submitted into previous 4k competitions.
Some extra notes about Java Webstart:
- Webstarted games' code size will be determined with the JAR that Webstart uses to launch the game
- Splash screens and icons for Webstart will not be counted against you since they are not part of the JAR
- If your JAR is below 4K until you sign it, you must provide a runnable unsigned JAR to demonstrate the game meets the competition rules.
The administration reserves the right to reject games that do not follow the spirit of the 4K competition, e.g. try to cheat or bypass competition rules.
There will be two types of judging, a judging panel consisting of a few judges (yet to be picked and defined) and a community vote, where everyone can participate in voting the best community game.
The judging panel will consist of both programmers and non-skilled-humans, and they will choose the winning games in 3 categories:
- Best Game Award: The overall winner of the competition
- Technical Achievement Award: Games that show a impressive implementation of some sort of technology.
- Best Presentation Award: Recognition for impressive graphical and/or audio in-game effects. (This can include a wide variety of things, but remember rule #2, this must be a game and not some senseless animation or audio playback.)
So, in short, there are 4 categories:
- Best Game of the Competition (judging panel)
- Best Community Game (community)
- Technical Achievement Award (judging panel)
- Best Presentation Award (judging panel)
Currently there is no plan to give prizes.
The judges for the Java4K 2008 competition are as follows:
- Arni Arent (appel)
- Joakim Johnsson (jojoh)
- Kevin Glass (kevglass)
- Matt Hicks (darkfrog)
- Chris Melissinos (ChrisM)
If you're interested in making a 4K game but don't know how, check out these links:
Links Related to 4K programming
- JGO Forums (the official forum where most of the developers hang out at)
- Kev's 4K Games
- Javaunlimited.net (previous site of the Java 4K competition)
- Java 4K Game Programming Contest on Wikipedia
- java.net games
If you have any questions you can send them to user "appel" at (@) domain "java4k.com".