pw)\rif (ghouse [x] [pw pw - > - > y] = = ' m' s + +);\rpw pw - > a = p;.\rif (s = = 0)\rfree (win);\rgotoxy (25. 2);\rprintf (''congratulate, you have passed level% d! , (i + 1);\rgetch ();\ri + + Y\rthe switch (i)\r(\rcase 1: init ();\rwin = inithouse2 (); break;\rcase 2: init ();\rwin = inithouse3 (); break;\rcase 3: init ();\rwin = inithouse4 (); break;.\rcase 4: gotoxy (8,14);\rprintf ("great! you have passed all the levels, press any key\rto q u it! ”) ;\rkey = 0x01 lb getch (;); break;\rdefault: break;\r)\r} while (key. = 0x0lib );\ral = 3;\rah = 0;\rgeninterrupt (0x10);