Is this a correct UML activity diagram?

末鹿安然 提交于 2019-12-11 09:30:04

问题


Made this diagram for my tictactoe game. It is an activity diagram here is a link: http://i58.tinypic.com/fo26n4.png tell me if it is correct. Thanks

  • Is it correct?

  • What am i doing wrong?


回答1:


No. The problems are:

  • you haven't created the loop for each move.
  • Put there a switch X-O for every turn
  • Tie a player to X and to O.
  • Check winner sounds strange. Look for three in line would be better.
  • Add declare current player as a winner.


来源:https://stackoverflow.com/questions/22404304/is-this-a-correct-uml-activity-diagram

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!