- Blackout
- Faster Than Light
- Hex Board
- Invariants
- Listening To OEIS
- Logic Gates
- Penrose Maze
- Syntactic Sugar
- Terminal Colors

- A Twist on Wadler's Printer
- Preventing Log4j with Capabilities
- Algebra and Data Types
- Pixel to Hex
- Linear vs Binary Search

- Traffic Engineering with Portals, Part II
- Traffic Engineering with Portals
- Algebra and Data Types
- What's a Confidence Interval?

- A Twist on Wadler's Printer
- Space Logistics
- Hilbert's Curve
- Preventing Log4j with Capabilities
- Traffic Engineering with Portals, Part II
- Traffic Engineering with Portals
- Algebra and Data Types
- What's a Confidence Interval?
- Uncalibrated quantum experiments act clasically
- Pixel to Hex
- Linear vs Binary Search
- There and Back Again
- Tree Editor Survey
- Rust Quick Reference
- The Prisoners' Lightbulb
- Notes on Concurrency
- It's a blog now!

A triangular Hex board. Print two copies and tape them together to make an 11x11 board.

There are just three fully symmetric ways to arrange points on a plane:

Pattern 1: • • • • • • • • • • • • • • • • • • • • • • • • • Pattern 2: • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • Pattern 3: • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • •

Some board games let you place pieces in one of these patterns: checkers, chess, and Go use Pattern 1, while hex and chinese checkers use Pattern 2. I don’t know of any game that uses the third.

You might think that these three patterns of points are just the three regular tesselations of the plane: a square grid, a triangular grid, and a hexagonal grid. And they are, but which one is which is actually ambiguous!

In the US, we are used to placing pieces at the center of tiles. By this convention, Pattern 1 comes from a square grid, Pattern 2 comes from a hexagonal grid, and Pattern 3 comes from a triangular grid.

But Go uses a different convention - you place pieces at the intersections of
the lines. Go still uses a square grid; you just place the pieces differently.
By *this* convention, Pattern 1 (still) comes from a square grid, Pattern 2
comes from a triangular grid, and Pattern 3 comes from a hexagonal grid. So the
hex and triangular grids are swapped. There’s a name for this: triangular and
hexagonal tilings are duals of each
other, and a square grid is its own dual.

Anyhow, all of this means that there are two kinds of boards you can play Hex on. You can either play on a hexagonal grid and place pieces on the tiles, or play on a triangular grid and place pieces on the intersections. I find that I prefer the latter. But there’s a surprising lack of triangular hex board grids on the internet, though, so I wrote my own in Postscript. I wanted it to fit Go stones and be at least size 11, making it too big to fit on one page. So here is: