Sign in to follow this  
phil67rpg

tictactoe and uml

Recommended Posts

phil67rpg    443
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
alvaro    21266
[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
Madhed    4095
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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this