Skip to content

Author: Paul Lefebvre

A Web App to Calculate Combat Rolls in Twilight Imperium

Every few weeks my son Lucas gets together with his friends for board game day. Last week’s game was Twilight Imperium. One part of the game includes rolling a 10-sided die to calculate whether one of your ships successfully registers a hit on your opponent. Apparently this is something that can take a while to do as each player amasses more and more ships. This was ripe for automation!

Comments closed

Getting the Operating System Version Information

It is useful to know the version of the operating system your app is running on. You might use this information to access a feature that is only available on certain OS versions or perhaps you want to include it in logging data to help troubleshoot. Regardless, you can fetch this information from the System.VersionData class.

Comments closed

Rubber Ducky, You’re the One

Yuck! It happens to everyone, from beginners to experienced developers: sometimes you’ll get stuck. Perhaps the code you’re working on just won’t do what you want or maybe you’re having trouble understanding code plucked from the internet. Talk to the duck. The rubber duck, that is. The term “rubber ducking” or “rubber duck debugging” is a software development technique where you explain the problem you are having to a rubber duck (or appropriate substitute). Often the act of explaining the problem to someone else, even if that someone is not real, can help you figure it out. It might be like inspiration struck.

Comments closed