Hey amazing post!!! Really like your writing style, it's fun to read :) I don't know how you get the ideas for the post, but thank you for your posts, they're really great 😃 also, thanks for open sourcing it :)
Sorry for a small nitpick, but shouldn't the probability of mines be num mines/width*height, and not the other way around?
Passionate full stack web developer, course author for Educative, book author for Packt, he/him.
Find my work and get to know me on my Linktree: https://linktr.ee/thormeier
Hey amazing post!!! Really like your writing style, it's fun to read :) I don't know how you get the ideas for the post, but thank you for your posts, they're really great 😃 also, thanks for open sourcing it :)
Sorry for a small nitpick, but shouldn't the probability of mines be num mines/width*height, and not the other way around?
I'm glad you liked it! Have fun playing and examining it.
Don't be sorry, you're absolutely right! Corrected, thank you for spotting it. :)