[☰][2018-05-30]games:Hex game prototype

I was reading Martin Gardner's publications one night and came across something of considerable interest. A (board) game called Hex that has some really interesting properties. Apparently the game itself sold quite well in Denmark. Here is a small prototype of the game:

Game

Usage

The game is played in turns with two players. The red player's objective is to create a path of hexagons from the top of the board to the bottom. The blue player's objective is to do the same, but with his own left to right path. Whoever reaches this objective first wins. It is mathematically proven there are no ties.

Side note(idea for a future rant)

There are considerable holes in Javascript regarding array handling and string handling of which a metric ton of programming is done. I'm very hopeful of web assembly which should provide a much more consistent experience as it's not as "smart" as javascript. Not to mention implementing more demanding games would more or less require it.

share:[twitter][reddit][linkedin][g+]