Is this a correct UML activity diagram?

2019-08-07 07:20发布

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?

标签: uml diagram
1条回答
beautiful°
2楼-- · 2019-08-07 07:49

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.
查看更多
登录 后发表回答