Create a gist now

Instantly share code, notes, and snippets.

@xem /codegolf.md
Last active Apr 13, 2017

What would you like to do?
JS code golfing

codegolf JS

Mini projects by Maxime Euzière (xem), subzey, Martin Kleppe (aemkei), Mathieu Henri (p01), Litterallylara, Tommy Hodgins (innovati), Veu(beke), Anders Kaare, Keith Clark, Addy Osmani, bburky, rlauck, cmoreau, maettig, thiemowmde, ilesinge, adlq, solinca, xen_the,...

(For more info and other projects, visit http://xem.github.io)

(Official Slack room: http://jsgolf.club / join us on http://register.jsgolf.club)


https://github.com/xem/miniMandelbrot (tweetable Mandelbrot tracers)

https://github.com/xem/miniConwaySerpinski (188b Game of Life tweak to produce a Serpinski triangle)

https://github.com/xem/miniGameOfLife2 (new 184b Game of life on a canvas)

https://github.com/xem/miniSpeechSynthesis (73b+ speech synthetizer)

https://github.com/xem/miniSpeechRecognition (100b+ speech recognition)

https://github.com/xem/miniSpeechRecognitionAndSynthesis (146b+ speech recognition + synthesis)

https://gist.github.com/addyosmani/fd3999ea7fce242756b1 (73b JS snippet to outline every block in a page)

https://github.com/codegolf/period1k (1kb periodic table)

https://github.com/xem/miniCam (~128b webcam/microphone echo)

https://github.com/xem/CSS3Dprototypes (mini CSS3D experiments)

https://github.com/xem/miniPi (compute Pi in ~256b!)

https://github.com/xem/js13k-graphics-editor (tiny shape editor for 2D games)

https://github.com/xem/js13k-level-editor (tiny map editor for 2D games)

https://github.com/xem/miniSnake (600b snake clone)

https://twitter.com/subzey/statuses/717050213886722048 (Twirl)

http://aem1k.com/water (128b waves made with Unicode diatrics)

http://aem1k.com/lorenz (112b Lorenz attractor)

http://aem1k.com/fire (~128b fire animation)

https://github.com/codegolf/snowflake (<20b snowflakes generator)

https://github.com/xem/MiniRegexTester (170b regex tester)

https://github.com/xem/miniBookmarklets (tiny bookmarklets)

http://xem.github.io/MiniShadertoyLite/ (512b Lite shadertoy clone)

http://xem.github.io/MiniShadertoy/ (1kb shadertoy clone)

http://xem.github.io/miniBeautifier/ (1kb js beautifier)

https://jsbin.com/kinihavigo/edit?html,js,output (ASCII Mandelbrot drawer in less than 100b)

https://github.com/xem/miniMandelbrot (Canvas Mandelbrot drawer in less than 256b)

https://github.com/xem/miniBookmarklet (JS Bookmarklet editor in 80b)

https://jsbin.com/nahegi/edit?html,output (Countdown until next new year in ascii art in 188b)

https://jsfiddle.net/subzey/oahnujcv/ (Tiny Xmas trees in 135b)

https://github.com/xem/miniUnicode (Unicode slideshows in 64b and up)

https://github.com/xem/miniKeyCode (JS KeyCode finder in less than 128b)

https://www.clicktorelease.com/blog/svg-google-logo-in-305-bytes (The new Google logo golfed in 146b of gzipped SVG)

https://github.com/xem/miniGameOfBraille (a game of life in braille in less than 400b)

https://github.com/codegolf/miniFlappyBraille (a Flappy Bird clone in less than 256b)

https://github.com/codegolf/ping (A 1-player PONG clone in less than 256b)

https://github.com/codegolf/pac-man (a PAC-MAN clone in less than 350b)

http://xem.github.io/miniJSperf/ (a JSperf clone in less than 300b)

https://github.com/xem/minicountdown (a countdown app in less than 256b)

https://github.com/xem/in-n-out (a sort of html editor in less than 256b)

https://github.com/xem/minipoptiles (a pop tiles clone in less than 350b)

http://xem.github.io/minisimon/ (a simon game with sound in 511+ bytes)

http://xem.github.io/CSSprite/ (a CSS sprite generator in 567 bytes)

https://github.com/xem/miniGameOfLife (A Game of Life implementation in 238 bytes)

https://github.com/xem/sheet (a spreadsheet app in 221 bytes)

https://github.com/xem/postit (offline text editor in 89 bytes (HTML+JS))

https://gist.github.com/addyosmani/d1f3ca715ac902788c2d#comment-1234484 (offline text editor in 83+ bytes (just js))

http://jsbin.com/flap/1/edit (a flappy bird clone in 411bytes)

https://rawgit.com/veu/603535c10c8516de15cb/raw/4398ed74f2d24fff4648bbb2363526627b4cbd7c/MMXLVIII.html (a 2048 clone in 491 bytes)

https://github.com/rlauck/atree (a christmas tree in 135 bytes)

https://github.com/xem/hex (hexadecimal viewer and editor in 243+ bytes)

https://github.com/xem/miniURI (file-to-dataURI converter in 99 bytes)

https://github.com/xem/miniCodeEditor (HTML/CSS/JS editor in 156+ bytes)

https://github.com/xem/braille-art (drawing with braille on Twitter in less than 1k)

https://github.com/xem/chip8 (chip8 emulator in 1k)

https://github.com/xem/miniMinifier (HTML/CSS/JS minifiers in 128+ bytes)

https://github.com/xem/paste (A paste app in 140 bytes)

https://github.com/xem/MiniSweeper (A minesweeper game in 480 bytes)

https://github.com/xem/prettycode (a code-golfed code formatter in 166 bytes)


JS13k submissions

js13k 2016 game by the codegolf team:
http://js13kgames.com/entries/26-games-in-1

js13k 2016 game by xem and Anders Kaare:
http://js13kgames.com/entries/super-chrono-portal-maker

js13k 2015 game by xem:
http://js13kgames.com/entries/geoquiz

js13k 2014 game by xem:
http://js13kgames.com/entries/alchemixer

js13k 2014 game by the codegolf team:
http://js13kgames.com/entries/quintessence


JS1k submissions

JS1K 2017 demos by xem and in team:
http://xem.github.io/articles/#js1k2017

JS1K 2016 demos by xem:
http://xem.github.io/articles/#js1k2016

JS1K 2016 demo by p01:
http://js1k.com/2016-elemental/demo/2600

JS1K 2016 demo by elias_schuett:
http://js1k.com/2016-elemental/demo/2552

JS1K 2015 demo by p01:
http://js1k.com/2015-hypetrain/demo/2364

JS1K demo by aemkei:
http://js1k.com/2015-hypetrain/demo/2135

JS1K 2015 demos by xem:
http://js1k.com/2015-hypetrain/demo/2160
http://js1k.com/2015-hypetrain/demo/2316

JS1K 2015 demo by Subzey:
http://js1k.com/2015-hypetrain/demo/2217

JS1K 2015 demos by all the team:
http://js1k.com/2015-hypetrain/demo/2121
http://js1k.com/2015-hypetrain/demo/2100
http://js1k.com/2015-hypetrain/demo/2145

JS1k 2014 demo by xem
http://js1k.com/2014-dragons/demo/1704

JS1k 2014 demo by xem and subzey
http://js1k.com/2014-dragons/demo/1933

JS1K entries by Veubeke
http://js1k.com/2010-first/demo/562
http://js1k.com/2010-first/demo/778
http://js1k.com/2010-xmas/demo/851
http://js1k.com/2010-xmas/demo/891
http://js1k.com/2011-trail/demo/901
http://js1k.com/2011-trail/demo/919
http://js1k.com/2011-trail/demo/952
http://js1k.com/2011-trail/demo/968
http://js1k.com/2012-love/demo/1246
http://js1k.com/2012-love/demo/1265
http://js1k.com/2013-spring/demo/1416
http://js1k.com/2013-spring/demo/1460
http://js1k.com/2014-dragons/demo/1919
http://js1k.com/2015-hypetrain/demo/2228
http://js1k.com/2016-elemental/demo/2512


More info

http://www.p01.org/ (p01's website)

http://aem1k.com/ (aemkei's website)

http://xem.github.io (xem's website)

http://js1k.com

http://js13kgames.com

http://dwitter.net

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment