Jump to content
  • Advertisement
Sign in to follow this  
phil67rpg

tictactoe and uml

This topic is 2244 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
Advertisement

is there anyway to upload dia diagrams?


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 wink.png
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  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!