1 / 10

系统分析与设计

Assignment 1. 系统分析与设计. 组员:傅允聪、李俊龙、李珠刚、连凌淦、毛飞霏 演讲 人:连凌淦. Priests and Devils

nitara
Download Presentation

系统分析与设计

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Assignment 1 系统分析与设计 组员:傅允聪、李俊龙、李珠刚、连凌淦、毛飞霏 演讲人:连凌淦

  2. Priests and Devils   Priests and Devils is a puzzle game in which you will help the Priests and Devils to cross the river within the time limit. There are 3 priests and 3 devils at one side of the river. They all want to get to the other side of this river, but there is only one boat and this boat can only carry two persons each time. And there must be one person steering the boat from one side to the other side. In the flash game, you can click on them to move them and click the go button to move the boat to the other direction. If the priests are out numbered by the devils on either side of the river, they get killed and the game is over. You can try it in many ways. Keep all priests alive! Good luck!

  3. Bank Boat Priest Devil

  4. Attribute Operation Bank Side PriNum DevNum isValid() Boat Passengers WhichBank Move() Priests WhichBank Board() Disebank() Devils WhichBank Board() Disebank()

  5. 继承(泛化) Generalization 不解释~~~ 关联 Association 强关系,两者存在某种联系 聚合 Aggregation 部分和整体的关系,两者可以分开存在 组合 Composition 部分和整体的关系,且两者必须在同时存在才有意义 依赖 Dependence A的某些方法B作为参数或者局部变量,则A依赖B,两者都能独立存在

  6. 类图最终版:

  7. 状态跳转图

  8. Thank you!

More Related