tictactoe and uml

Started by
2 comments, last by Madhed 11 years, 6 months ago
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?
Advertisement

is there anyway to upload dia diagrams?


Surrounding the diagram with [ code ] [ /code ] tags should help.
cool I didnt know you could that with uml diagrams
What Alvaro meant was, enclose your ascii art with code tags so it uses the monospace font and doesn't come out garbled wink.png
Hasn't Dia an option to export as an image? That would be much more helpful.

This topic is closed to new replies.

Advertisement