Hex Game
Summary:
The Hex game is implemented as a web-based project using HTML, CSS, and JavaScript. It uses the layui framework and the libraries jQuery, moment.js, and the main open-source tool particles.js (GitHub: https://github.com/VincentGarreau/particles.js).
This project includes: designing the game interface, programming alternating turns for players, allowing only one move at a time, considering two adjacent same-color pieces as connected, and declaring the player who first connects two opposite sides with the same color pieces as the winner. It also includes the logic for determining the winner and descriptions of relevant algorithms.
Project achievements: Successfully implemented both human-vs-human and human-vs-AI modes while maintaining a visually appealing interface.
Project limitations: The two-player mode is limited to a single shared device, which affects the user experience and convenience.