Jump to content

  • Log In with Google      Sign In   
  • Create Account

Awesome job so far everyone! Please give us your feedback on how our article efforts are going. We still need more finished articles for our May contest theme: Remake the Classics

tictactoe and uml


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
3 replies to this topic

#1 phil67rpg   GDNet+   -  Reputation: 516

Like
0Likes
Like

Posted 28 September 2012 - 02:01 PM

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?

Ad:

#2 Álvaro   Members   -  Reputation: 5795

Like
0Likes
Like

Posted 28 September 2012 - 02:10 PM

is there anyway to upload dia diagrams?


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

Edited by alvaro, 28 September 2012 - 02:11 PM.


#3 phil67rpg   GDNet+   -  Reputation: 516

Like
0Likes
Like

Posted 28 September 2012 - 02:13 PM

cool I didnt know you could that with uml diagrams

#4 Madhed   Members   -  Reputation: 1245

Like
0Likes
Like

Posted 28 September 2012 - 03:14 PM

What Alvaro meant was, enclose your ascii art with code tags so it uses the monospace font and doesn't come out garbled Posted Image
Hasn't Dia an option to export as an image? That would be much more helpful.




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS