gren
A better JSON.stringify
Making performant React applications
A game ruled with Cellular Automata in WebGL GLSL
Especially the install.sh only works on Linux.
Otherwise very cool idea :-)
I've started an attempt to have a tree of all possible actions and using a minimax algorithm (with a score function + alpha-beta pruning) but this is not yet conclusive because I can't explore so much deep (was able to explore up to 20 next player decisions but that is just 5 moves of your hero).
I think this game is enough simple to try to have this approach but also challenging because there is still up to 5 possible actions per turn so it is a max of 5^1200 total of possible state for a game – a lot.
My current approach is now to try to have a minimax with pre-explored interesting path in the tree (e.g. all path which leads to tavern and mines), that is still a lot of computations.
Vindinium: An artificial intelligence programming challenge
WaveGL = WebGL + Audio
as a proof: https://glsl.io/transition/a830822b23e846e25d2d
see that there is already some warnings ;-)
WebGL Transitions for your image/video slideshows
Anyway, nice bunch of new ES6 features out there
In this basic example,
.element:hover {
will-change: transform;
}
.element:active {
transform: rotateY(180deg);
}
it seems very predictable. I don't get why the browser couldn't guess (with some heuristics) what to prepare.Also I feel we will misuse this feature and tend to make the performance worth than if the browser would detect what are the "will-change"s.
Strongest chess player, ever
https://www.youtube.com/watch?v=BYdCNTJaGss : a first presentation video.
var result = promise.then(identity, function (error) { console.log(error); })
Oops, you just recovered your promise with undefined. result will always be successful. Yes if you don't throw again (or return a new failure promise) in your error callback it will make the resulting promise successful.I haven't checked if this behaviour is the same on the DOM Promise API but it is on Q (which is the most popular JS lib for Promises).