JS1k: The JavaScript code golfing competition

2018 - The Volatile Coin Mine

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 March 2018 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!


Together the hand picked jury will pick the top 10. They are a mix of JavaScripters and demo sceners.

Rebecca König

Rebecca works as a front end developer at reBuy. She’s a serial JS1k participant, makes games from time to time, and used to run a JavaScript-powered Minecraft server.

@I_like_too_much monometric.net

Andrzej Mazur

HTML5 Game Developer and Mozilla Tech Speaker, Enclave Games indie studio founder, js13kGames competition creator and Gamedev.js Weekly newsletter publisher. Started Gamedev.js meetups in Poland, recently excited about WebXR with A-Frame and Progressive Web Apps. Likes eating sushi and playing Neuroshima Hex.

@end3r end3r.com

Andreas Løve Selvik &

Sigve Sebastian Farstad

They are from Norway, part of the demo group Ninjadev, and built dwitter.net in their spare time while they studie CS. Andreas lives in SF now and works on smartphone GPUs for Arm. Sigve still lives in Norway and works on frictionless p2p car sharing. They will share a judge seat.

@lionleaf @sigvef lionleaf.org arkt.is


Mathias Schäfer

Mathias is a software developer with a focus on front-end web technologies. In articles and talks, Mathias tries to make web development more accessible and contributes to the understanding of a weird little language called JavaScript.

@molily molily.de


What's a competition if you can't win anything? Here are the prizes and the awesome companies or people that brought them to you... (Cash paid through paypal or IBAN bank transfer only)

50$ from you?

Ask — What's 50 bucks for any company, really? Ask your boss, ask yourself, ask a friend, donate some money and get everlasting fame on js1k.com



@ATMediaProduct — The product team behind Apartment Therapy and Kitchn. Want to join us?



Demo submission won't open until at least the start of the competition. Stay tuned! Maybe have a look at previous years?

canvas Torus

By cantelope
( @c4ntelope, website )

Just a Torus


( website )

Create a musical score. Use select options to add musical notes. "_" means a silence. "END" will stop the song, even if there are notes remaining. Use Play and Stop buttons...

canvas Elemental Forest 2.0

By Richard Sudaryono
( @gamehelp16, website )

Use WASD to move through the infinite forest. Follow the path or not, it's your choice..

canvas Epic cycles

By The Codegolf Team
( @maximeeuziere, website )

"JS1K" drawn by 64 gears. Press up / down to change the number of gears, left to show/hide intermediate paths, right to clear the scene. Use the mouse to draw a (closed) path!

canvas Write this game!

By Infernet89
( @inferne89, website )

It's a typing game/quine. Follow the instructions on screen to win the game!

canvas Mine patterns not coins!

By Sergey Chernykh
( @sergonaut, website )

Fill the input with a string like '150,25 & 0.25,-12' and enjoy emerging patterns.

canvas Virtual coin pusher

By Jack Le Hamster
( @jacklehamster, website )

Drop a coin, gain a coin.

canvas Space Invader Coin Collection

By Felix
( @0x00, website )

The complete space invader coin collection.

canvas Spiked for a Penny

By Noncho Savov
( @FoumartGames, website )

Dungeon Crawler. Use ARROW Keys to Move and SPACE to Wait a turn. Press ESC to restart the game.

canvas Dodge Coin

By Richard van der Dys
( website )

Control player with ARROW keys, throw coin with SPACE, and switch team member with NUM 1-5.