Simple Hex: A Two-Player Connection Game
Simple Hex is an engaging two-player connection game with straightforward rules, making it easy to learn. Players choose red or blue and take turns coloring empty cells on the game board. The objective is to create a connected path of your colored cells linking opposite sides of the board. The first player to complete this connection wins.
The game offers "Play with AI," "Play with Friend," and "Pass & Play" modes. The AI mode features three difficulty levels (easy, medium, hard), and the AI can play first or second. Alternatively, "Play with Friend" allows two players to compete using separate devices, while "Pass & Play" enables local multiplayer.
Simple Hex is deceptively challenging. While easy to pick up, mastering the game requires skill and strategy. An undo button lets you reverse your last move(s), although this feature is not yet available in AI mode.
Steal Move Feature: Because the first player has a significant advantage in Hex, the second player can choose to switch positions with the first player after the first move. This forces the first player to make a strategic opening move that doesn't guarantee victory. This option is also unavailable in AI mode.
We've included three board sizes (7x7, 9x9, and 11x11) to provide a gradual increase in difficulty and game length.
For more information on the game of Hex, visit: https://en.wikipedia.org/wiki/Hex_(board_game)
We extend our gratitude to interns Saatvik Inampudi and Shoheb Shaik for their work on performance improvements to the AI algorithm in the first version. The current AI uses a "stable" unbounded best-first minimax game technique. For more details on this, contact me at https://www.linkedin.com/in/nsvemuri/.
What's New in Version 0.45 (Last updated Dec 18, 2024):
- The easy difficulty level has been adjusted to be genuinely easy, and the medium level has been made slightly easier.