Simple Hex: A Two-Player Connection Game
Simple Hex is a captivating 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, you can play against a friend using separate devices or utilize "Pass & Play" for local multiplayer. While simple to learn, mastering Simple Hex presents a significant challenge. An undo button allows you to revert your last move(s), although this feature is not yet available in AI mode.
Strategic Element: Steal Move
Because the first player in Hex possesses a significant advantage, the second player has the option to switch positions after the first player's initial move. This forces the first player to make a strategic opening move that doesn't guarantee a win. This option is also unavailable in AI mode.
We've included three board sizes (7x7, 9x9, and 11x11) to provide a gradual increase in complexity and game length.
More About Hex:
For a deeper understanding of the game of Hex, visit: https://en.wikipedia.org/wiki/Hex_(board_game)
Acknowledgements:
We extend our gratitude to interns Saatvik Inampudi and Shoheb Shaik for their contributions to performance improvements in the AI algorithm of the initial version. The current AI uses a "stable" unbounded best-first minimax game technique. For more information, connect with me on LinkedIn: 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.