At the start of the game, you need to connect all the yellow squares based on the starting and ending positions. Note that the game will randomly generate black squares to block the view and increase the difficulty. Pink squares cannot be passed through. Quickly memorizing the locations of the black squares will increase your chances of success