krozgen··on Show HN: I taught my little brother JS, and he made this videogame in a weekI love when the red square comes close and the green one jukes in a tight spiral around it, just thinking "Whoa nope nope NOPE ah it's okay"
krozgen··on Show HN: I taught my little brother JS, and he made this videogame in a weekSnowcrash mode :) (In console): setInterval(function() { hero.x = powerUp.x; hero.y = powerUp.y; }, 50); setInterval(function() { hero.x = reward.x; hero.y = reward.y; }, 100);