英语翻译Youaretodevelopaninteractiveprogramwhichallowstheusertomoveacursoraroundinamaze.Whentheprogramisstarted,partofthemazeisshownonthescreen.Thepartinitiallyshowncontainstheentrance.Themazeonlycontainshor
英语翻译
Youaretodevelopaninteractiveprogramwhichallowstheusertomoveacursoraroundinamaze.Whentheprogramisstarted,partofthemazeisshownonthescreen.Thepartinitiallyshowncontainstheentrance.Themazeonlycontainshorizontalandverticalcorridors.Notethatthemazeneednotentirelyfitonthescreen.
Whentheprogramisstarted,thecursorispositionedattheentrance.Thecursorcanbemovedinfourdirections(left,right,up,down).Theprogramstopsifanexitisreached.