In the Hexable game your goal is to fill a board resembling a hexagon with…