2 posts with tag javascript
The Game of Fifteen
A playable online game. Not every possible starting position is solvable, so we have to take special care.
·
3 minutes reading time
Tail recursion with trampoline
Node.js does not support tail call optimization, but a trampoline has the same effect.
·
9 minutes reading time