3-Player-Hex: Strategies to create a winning algorithm?

This page summarizes the projects mentioned and recommended in the original post on /r/algorithms

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • yavalath

    Yavalath AI and engine

  • I used bitboards in my Yavalath AI and engine (article), which is a hex game much like 3-Player Hex. It's a 4-in-a-row game, and I precompute bitboard masks for the N-in-a-row checks so that these checks can be performed with a few AND operations on the bitboard. The AI/engine itself doesn't need to reason in hex tiles, and instead relies on these pre-computed bitboards.

  • scratch

    Personal scratch code

  • This isn't well-documented, but I also used bitboards (see pack, unpack, and neighbors) to solve the sliding rooks puzzle (solution animation). Rook movement is represented with a mask, which is shifted into place and applied to the board to search in parallel for collisions with other rooks.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts