JavaScript 1K 2014 Competition Underway
Written by Lucy Black   
Wednesday, 19 February 2014

Can you write an impressive JavaScript demo in no more more than 1024 bytes? That's still the main challenge of the JS1K Javascript golfing competition, but this year there are two experimental compos added to the line up.

Although this contest started out as a joke in 2010, it attracted so many quality submissions that it has become a fixture and the 2014 "Here be Dragons" contest is the sixth in the series.

js1k14sq

According to the rules you are free to submit as many demos as you want but the judges will only consider that last submitted entry for each of this year's three distinct competitions.

This year there are three. Classic, described as the regular JS1k competition you're used to, retains the limit of 1024 bytes. It is now joined by two experimental additions, ++  which doubles the size to allow up to 2048 bytes and Webgl where a slightly bigger boilerplate is provided.  Originator of the contest Peter van der Zee notes in the rules:

It's okay if the webgl compo turns into a shader contest.

and he also points out that there are only prizes for the Classic competition. 

Other rules are that demos must run in Firefox 26 and Chrome 32 using the shims provided and that no externals, by way of linking or including resources, are allowed.

The rules also state:

Anything goes for golfing Do not worry about Crockford's wrath. Your submission does not need to pass jslint, style guides or anything like that. You may compress your submission in any way you can, as long as the result still runs in the target browsers.

The deadline for JS1K 2014 is March 31st but there are already plenty of submissions and the site's home page shows the latest ten at any time.

You can see more by going to the Demos page where those from previous years can also be viewed.

For new entrants to the competition checking out the opposition seems like a good way to discover what is expected. Given this year's theme, there are plenty of dragons in the line up for the Classic contest:

 

demo1kjs2014

 

So far there's just one ++ demo on view, an implementation of Connect Four that is very playable, and none for the webgl compo - so perhaps that's an oppportunity for newcomers.

js1k14sq

More Information

JS1K

Related articles

JS1K 2013 Amazing 1K JavaScript Programs

Speech Synthesizer in 1K of JavaScript

Tearable Cloth In JavaScript

Go Beyond Responsive Design With JavaScript Capturing

Tetris In 140 Bytes

Ray Tracer in JavaScript



To be informed about new articles on I Programmer, install the I Programmer Toolbar, subscribe to the RSS feed, follow us on, Twitter, Facebook, Google+ or Linkedin,  or sign up for our weekly newsletter.

 

espbook

 

Comments




or email your comment to: comments@i-programmer.info

 

Banner


Remembering Thomas Kurtz, Co-creator of BASIC
15/11/2024

Thomas Eugene Kurtz, the co-founder of the BASIC programming language, has died at the age of 96. BASIC, which was developed for the purpose of education, popularized computer programming making it ac [ ... ]



JetBrains Makes WebStorm and Rider Free for Non-Commercial Use
24/10/2024

JetBrains has launched a non-commercial license for its JavaScript and TypeScript IDE, WebStorm, and for Rider, its cross-platform .NET and game development IDE.


More News

Last Updated ( Wednesday, 19 February 2014 )