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 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.
Game Modes:
The game offers three modes: Play with AI, Play with Friends, and Pass & Play. The AI mode features three difficulty levels (easy, medium, hard), allowing the AI to play first or second. "Play with Friends" enables multiplayer gameplay using separate devices, while "Pass & Play" allows local multiplayer on a single device.
Game Features:
- Undo Button: Regret a move? The undo button lets you reverse your last move(s) (currently unavailable in AI mode).
- Steal Move: To balance the inherent first-player advantage, the second player can choose to switch positions with the first player after the first move. This forces strategic first moves from the initial player (unavailable in AI mode).
- Multiple Board Sizes: The game offers 7x7, 9x9, and 11x11 boards, providing a gradual increase in complexity and playtime.
AI Algorithm:
The AI utilizes a "stable" unbounded best-first minimax game algorithm. For more details on the algorithm and its performance improvements, please see: https://www.linkedin.com/in/nsvemuri/ We extend our gratitude to interns Saatvik Inampudi and Shoheb Shaik for their contributions to the AI algorithm's performance enhancements.
Learn More About Hex:
For a deeper understanding of the game of Hex, visit: https://en.wikipedia.org/wiki/Hex_(board_game)
Version 0.45 (Updated Dec 18, 2024):
This update makes the easy level genuinely easy and slightly reduces the difficulty of the medium level.