View on GitHub

Tech, Games and Whisky

The Sebr's Blog

Hexagonal Gaming Theory

|

I like boardgames. And I like boardgames with hexagons. My favorite boardgame is Mage Knight and it makes great use of a dynamic map that you build over time from tiles containing multiple hexagons:

hex

At some point in my programmer life I did an adaptation of the solitaire Civilization game: Pocket Civ. This game uses hexagons to represents the differents regions containing resources and tribes. For that particular project I was using Google GWT library.

pocket civ

These days I am fiddling around with PhaserJS a great 2D Javascript game engine with a wealth of documentation and tutorials. I found this incredibly thorough tutorial by Juwal Bose on how to create a hexagonal minesweeper game with Phaser. The tutorial goes into great lengths on how to implement layouting, selection and all sorts of hexagons manipulation. Well worth a read!

hexes