For games rules, read this: https://en.wikipedia.org/wiki/Hex_(board_game)#Game_play
This is just a playing board. It doesn't check anything or declare a winner. Click once to change tile to red, twice for blue, three times for white again.