这是正确的UML活动图吗? [英] Is this a correct UML activity diagram?
本文介绍了这是正确的UML活动图吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
为我的tictactoe游戏制作这张图。
这是一个活动图
,这里是链接:
http:/ /i58.tinypic.com/fo26n4.png
告诉我是否正确。谢谢
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?
什么是我做错了吗?
推荐答案
不。问题是:
- 您尚未为每次移动创建循环。
- 在每回合放置一个XO开关
- 将玩家绑定到X和O。
-
支票获胜者
听起来很奇怪。在行中寻找三个会更好。 - 添加
将当前玩家声明为赢家
。
- 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
.
这篇关于这是正确的UML活动图吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文