Hacker News new | ask | show | jobs
by Kiro 2187 days ago
I feel I'm missing something when people ask what algorithm this is using. I'm imagining it as a bunch of Math.random and If statements. In fact, I don't think I've ever googled for a specific algorithm or implemented one. Am I doing programming wrong?
1 comments

Looked at the code. You were right! It was random and some rules. Almost like an algorithm.