517 karma · joined April 2, 2019
https://developer.mozilla.org/en-US/docs/Web/API/WindowBase6...
Reduces share urls by about 75% for these very repetitious JSON strings.
https://nikhilism.com/post/2012/demystifying-jscrush
If you go to the live demo, it will do a test to crush/encodeURI and uncrush/decodeURI to the string you pass in and verify that they are the same. Maybe I should write some automated tests.
I certainly don't want everyone to make business card games. I do however want games that are tighter and more focused. Like imagine RDR2 without the mini games, shorter story, and just much better core mechanics. That's the game I want to play.
I will say though that philosophically a deep and complex game can already exist on a business card. Take the classic board game go for example. Someone could probably code that (minus the AI) on a business card, and it's one of the most complex games known to man that people have been playing for thousands of years.
The lesson I was going for is not anything can be simple, we already know that.
The lesson is more about how developers are so focused on making games fun that we sometimes forget that making games should be fun too. I really do believe that for any kind of artist, to create great art, it's more important to have fun creating something then what the actual end product is.
Also that there is value in simplicity, it is sometimes worth creating something that seems pointless just because it's fun. The journey towards it may yield unexpected rewards.
I think indie developers tend to get it right more often, but anyone can fall into the wrong approach of over-complicating their games with needless features that actually detract from the fun.
Like take for example RDR2. Imagine if instead of having all those silly mini-games, they just polished the core combat and movement mechanics more. That's the game I want to play.
I guess I was trying to say a few things with this post, but one big part is that removing stuff from a game and making it simpler is often better then adding more stuff. I talk much more about that in my epic js1k post coming soon!
I've worked in the AAA industry for years on many games. Just recently on Doom, I remember that code was so bloated you could open "hands.cpp" and just hold page down for days. I've also released many games on my blog, like close to 40 games on there.
So the main point is just try creating something different. Maybe for you it's not writing tiny code, maybe it's something else that seems pointless but you know you will have fun doing it and at least create something in the end. Trust me, it will be worth it.