pbevin/hex — pull request #6 by chrisbutcher (2013-01-12 20:27:53+00:00)
Title: Variable hex board sizes enabled via parameters

I've just started a draft implementation of passing parameters into Javascript. A global called HexGlobals can perhaps be used, but I'm not 100% if this is a best practice.

Passing in different dimensions into http://localhost:3000/game/new/11x11, i.e. 8x8 or 14x14 will work, but the tiles don't automatically size to fit in canvas yet. Nor do we protect from non-square board dimensions.