BattleTech fan since the early '90s, game design enthusiast since forever.

Tuesday, October 29, 2013

GODDAMNIT GOOGLE

Today, I walked into a computer lab, opened a Chrome browser window, and logged into my email. I happened to look at the bookmark toolbar, and what do I see? Bookmarks I'd used at my old job. Bookmarks which represent proprietary information that I'm no longer privileged to - not so serious for my old employer, but this is could be a dangerous breach for other enterprises. (Nevermind political scandal from public officials leaking private habits into their workplaces.)

So I look at the browser's "sync" settings, and everything is synced by default.

Including autofill. 

Y'know, the thing that records everything you type into a browser? How did the fine lads at google look at this and say "yes, let's share everything by default! This does NOT risk the leaking of privileged information!"

This may be actually, actionably, criminally illegal.

What the hell guys.

Friday, October 4, 2013

How valuable is range

After an afternoon of trying to calculate exactly how often two randomly placed 'Mechs would be any given distance from each other, I noticed that the distribution was going to look something like sqrt(x^2 + y^2 - r^2), where x and y are the length and width of a rectangular board, and r is the distance between any two randomly selected points on that board. (The actual equation may feature arcsins, and would have some sort of scaling factor, but I figure this is close enough to fudge the rest.)


Pretty sure it only works this way because the maps have square borders... there are just a ton of ways that you can place two 'Mechs at range 1, and only a little fewer at range 2, but as your range gets longer you start getting trapped going corner-to-corner. There's not many ways to do that, so the curve drops off sharply. It zeroes out when you finally go off the map.


A circular border would have a different distribution (sqrt(xy)-r, maybe?) and the curve for an infinite map might instead march continuously upward.

Of course, this is just the distance between two randomly selected points. In a boardgame, those points won't be random, and the terrain is rarely so perfectly flat and open. For BattleTech, when the scenario prevents kiting, I'd guess that range decreases in usefulness more or less linearly from range 1 and zeroes around range 30. (You could calculate these values exactly, given a known distribution of terrain and combatants and victory conditions, but it'd be hassle because those things change so often.)