r/tinycode • • May 11 '16

[AMA] We're the JS codegolf team, ask us anything!

Hello tinycode!

As nexe kindly invited us, here's an AMA where you can ask anything to the JavaScript codegolf team!

The team consists of Mathieu Henri (website, twitter), Martin Kleppe (website, twitter), Anton Khlynovskiy (twitter), Maxime Euzière (website, twitter, AMA), Tommy Hodgins, Elias Schütt, veu, bburky, etc.

It competes to events like js1k and js13kgames, but also makes a lot of tiny projects between these events.

All our code-golfing projects can be found on our websites or on this little summary.

Feel free to ask anything, including how we do (or did) any of our projects, or even discuss what you'd like to see us do next!

PS: the team is not a clan or a sect, anyone can join, the only requirement is to have something cool to golf, or to experiment, or a byte-saving technique that we don't have yet :D

Cheers, TCGT

25 Upvotes

31 comments sorted by

View all comments

Show parent comments

1

u/xem06 May 13 '16 edited May 13 '16

You know what? You're right! Let's make a tiny galcon, with minimalist UI and IA. I think it's possible to make it fit in ~512b. The "boring" part would be the multiple planet selection, but we can leave it out (or do it later). Would you like me to prepare a quick prototype in JS?

EDIT: re, I'm making a prototype for the game, and realize it's much bigger that I imagined. Let's target <1kb instead, and let's simplify the rules by having numbered planets attacking other numbered planets, but without animating all the ships, if you don't mind... I'll share a demo as soon as it's working a little.

1

u/nexe mod May 13 '16

I started for a bit to build the level generator in a short way. Didn't have much time today. Maybe I'll get to hack on it a bit more later tonight. Do you want to use a gist to collaborate? It's a single file anyways right :D

1

u/xem06 May 13 '16

Let's make a github repo instead: https://github.com/xem/miniGalcon

The advantage is that it can be used as a webserver for the live demo: http://xem.github.io/miniGalcon/

Also, a gitter chatroom can be attached to it: https://gitter.im/xem/miniGalcon?utm_source=share-link&utm_medium=link&utm_campaign=share-link (join it!)

I made the map generation, UI, increasing populations, and ability to select the blue planet. Though, it's too verbose. I'm gonna simplify it and code the rest. ;)

2

u/nexe mod May 15 '16

Joined the Gitter. Sent you a gist there of a first attempt with canvas. Not very golfed at all yet :)