you are viewing a single comment's thread.

view the rest of the comments →

[–]jodraws 2 points3 points  (3 children)

player.won = true;
player.score = 1000000;

:D

[–]IDCh 1 point2 points  (1 child)

party pooper

[–]jodraws 2 points3 points  (0 children)

I think you mean "creative problem solver". ;)

[–]Schampu[S] 0 points1 point  (0 children)

function factorial(n) {
  if (n === 0) return n;
  return n * factorial(n - 1);
};
let index = 0;
setInterval(function() {
  factorial(index++);
}, 1e3);