Yeah, using fill was just easier with the graphics library I was using. I've used pattern fills with SVG before, not sure how widely supported it is in browsers.
Thanks for the tip. I'll tinker with the animation speeds.
Yeah, you get the hang of it, but it's not easy when you start. Do you think it'd work to ignore fill at first and just have color and shape to match on?
Hmm yeah I see where you're coming from. A lot of affiliate marketing seems really sleazy to me as well. Here I'm trying to provide a bit of value on top of the advertisement.
Rather than buying search ads and making money of pure arbitrage, I made a game that might inspire people to read about the technologies used in the game. Then I follow up with links.
Small bug irrelevant to the main point of the article:
The very last golang example has a leak. If the timeout does occur, main will exit after a timeout and the spawned go routine will hang on the channel push.
I think the easiest fix is to make the channel buffered.
"make(chan string)" => "make(chan string, 1)"
Not sure if there is a more idiomatic golang way to accomplish this.
That's a great anecdote. Out of curiosity, how did you find the site? I had just turned four at the time, so I don't quite remember what browsing the Internet was like then.