I first played the board game Risk during my doctoral studies. We occasionally stayed up all night playing this game. I hadn't played it for many years, but I bought it "for the kids" this Christmas, so I got to play it again. And soon, I found myself wondering what the odds are for the… Continue reading Using Python’s NumPy To Improve Your Board Game Strategy: Your Odds When Attacking in ‘Risk’
numpy.meshgrid(): How Does It Work? When Do You Need It? Are There Better Alternatives?
You have come across numpy.meshgrid() already. You may even have used it. But do you know what it does and how it does it? If your answer is "I'm not sure", then you're not alone. Some people find this function hard to understand. Others understand what it does but not why it's needed. And some… Continue reading numpy.meshgrid(): How Does It Work? When Do You Need It? Are There Better Alternatives?