If the game freezes, just click inside it (games can get unresponsive if you click elsewhere on the page).
In this game there will be a number of houses on the screen, paths will appear between the houses one by one. After all the paths are shown, they will disappear and then you will need to click the houses one by one in the exact sequence to reconstruct the paths. As the game progresses there will be more and more houses and the game will be more and more difficult. If you clicked a wrong house, you lost the game.