英语翻译Youaretodevelopaninteracti-查字典问答网
分类选择

来自宋学瑞的问题

  英语翻译Youaretodevelopaninteractiveprogramwhichallowstheusertomoveacursoraroundinamaze.Whentheprogramisstarted,partofthemazeisshownonthescreen.Thepartinitiallyshowncontainstheentrance.Themazeonlycontainshor

  英语翻译

  Youaretodevelopaninteractiveprogramwhichallowstheusertomoveacursoraroundinamaze.Whentheprogramisstarted,partofthemazeisshownonthescreen.Thepartinitiallyshowncontainstheentrance.Themazeonlycontainshorizontalandverticalcorridors.Notethatthemazeneednotentirelyfitonthescreen.

  Whentheprogramisstarted,thecursorispositionedattheentrance.Thecursorcanbemovedinfourdirections(left,right,up,down).Theprogramstopsifanexitisreached.

1回答
2020-02-25 17:54
我要回答
请先登录
郭春明

  你要开发一个互动程序,用户玩这个程序时,可用鼠标在迷宫中移动.当启动此程序时,迷宫的一部分会在屏幕上显示出来,起初显示的这一部分中有整个迷宫的入口.在迷宫中,只能水平或垂直地前进.另外,整个迷宫可不必全部显示在屏幕上.

  打开这个程序时,鼠标定位于入口处.鼠标可上下左右四个方向移动.当出口到达后,程序结束.

2020-02-25 17:56:41

最新问答

推荐文章

猜你喜欢

附近的人在看

推荐阅读

拓展阅读

  • 大家都在看
  • 小编推荐
  • 猜你喜欢
  •