JS1k: The JavaScript code golfing competition

2019 - Ten Year Js1k!

Home   Rules   Demos   Submit Mailing list  |  Update demo meta data  |  The /r/js1k subreddit JS1k, the yearly JS code golfing competition

Create some JavaScript program with a max size of 1k and make it do something cool. Submit it before April 2019 for fame and a chance of a prize! See rules for details and existing demos for some cool examples. Entry is free and the rules are simple. Give it a try, it"s really fun!


This year there are a lot of judges who will combined construct the final top 10.

Javier Roman



Ioannis Cherouvim



Damien Seguin



Diego F. Goberna



Frederic Charette



Ateş Göral



Graham Licence



Sugendran Ganess



Josep del Río



Martin Kleppe



Claudio Cañete



Igor Sbitnev




Zoli Kahan



Bálint Csala


Petter Nyman



Philippe Deschaseaux




Here are the prizes and the awesome companies or people that brought them to you...

10k ¥

van der Zee — When I suggested I might put up 10k as a prize, my wife asked whether I meant Yen :p So here you go (~80 eur)


100 usd

Shutterstock — Incredible content. Endless possibilities. Shutterstock is a world-leading stock asset provider with over 250 million images, videos, and music tracks. Join our team and help us shape the future of creative storytelling


50 usd

Jordan Eldredge — In appreciation for all the JavaScript mad scientists


50 usd

Diego Goberna — In appreciation for all the participants and Peter's dedication all these years


50 usd

Aruma Studios — We are an indie studio making video games at the intersection between narrative and puzzles. We love making browser games, and js1k is a great source of inspiration. Thanks Peter and all the participants!


2^6 cad

Ateş Göral — Why put up $50 when there's the nice round number $64? (~50 usd) In appreciation of this fun compo keeping the community inspired and engaged all these years!


1024 mad

Martin Kleppe — and his company Ubilabs are donating one MAD (Moroccan Dirham) for every byte in a JS1k entry (~100 usd). Thanks for all the creativity and effort you put in this project!



Below are the final top10 demos for this compo. Check the overview page to see them all!

#1: Lost In A Cave

By Roman Lut
( website )

Lost In A Cave. Who is chasing me?!

#2: Magical Light Tunnel

By Jani Ylikangas
( @jylikangas, website )

Your treasure lies beyond the crystal cave...


By feiss
( @feiss, website )

Use cursors to move Pac-Man, eat cookies and avoid ghosts!

#4: Andrioli Galaxy tour

By Denys Potapov
( @DenysPotapov, website )

Navigate with mouse with left button down to find bigger stars

#5: flux

By Keith Clark
( @keithclarkcouk, website )

A multi-part demo made up of 7 scenes and a soundtrack — click restart if you can't hear anything.

#6: Maximum overcast

By Siorki
( @Siorki )

Move with arrows. Smoother remake of my 2013 entry, but the weather is not as nice this year.

#7: X Dive

By Alexander Curtis
( @statenlogic, website )

Bring as many eggs as you can to the surface, and don't run out of air! Use arrow keys to move.

#8: ShadowBoX

By Jani Ylikangas
( @jylikangas, website )

The shadow box comes alive 10 past midnight. Watch out for the spooky owl!

#9: Genorama

By Jack Oatley
( @f_oatley, website )

Continuously renders a procedurally generated terrain. The terrain is originally from a game created I helped create for #EnterTheMUD jam.

#10: 1k Pool game

By Alfons Nilsson
( @TC5550_2, website )

Aim with the mouse and press and release to fire. Try to get all the blue balls into the black holes.