Sign in to follow this  

tictactoe and uml

This topic is 1937 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I am currently working on a tic tac toe game using UML, c++ and object oriented programming techniques.I am using DIA to draw the UML diagram. I need someone to look at the diagrams and tell me if anything is missing.


+------------------+
| Board |
+----------------- +
| |
+-------------------+
|+draw_board () |
|+draw_board_X () |
|+draw_board_O () |
+------------------+

+------------------+
| Player |
+----------------- +
| - player_X | |
| - player_O |
+-------------------+
|+declare_winner() |
| |
| |
+------------------+

+------------------+
| Mark_Board |
+----------------- +
| |
+-------------------+
|+move_player_X () |
|+move_palyer_O () |
| |
+--------------------+

is there anyway to upload dia diagrams?

Share this post


Link to post
Share on other sites
[quote name='phil67rpg' timestamp='1348862499' post='4984841']
is there anyway to upload dia diagrams?
[/quote]

Surrounding the diagram with [ code ] [ /code ] tags should help. Edited by alvaro

Share this post


Link to post
Share on other sites
What Alvaro meant was, enclose your ascii art with code tags so it uses the monospace font and doesn't come out garbled [img]http://public.gamedev.net//public/style_emoticons/default/wink.png[/img]
Hasn't Dia an option to export as an image? That would be much more helpful.

Share this post


Link to post
Share on other sites
Sign in to follow this