How to make lines for a tic tac toe board?

Jan 27, 2010 at 2:25pm
I know this is just insanely amateur, but my computer programming class wrote an unbeatable tic tac toe program for its final project, and it works fine.

My question is how to make the lines for the board.

The code's too long to post, but can anyone help?

Last edited on Jan 27, 2010 at 2:26pm
Jan 27, 2010 at 2:40pm
If it isn't graphically you can use this:
1|4|7
-+-+-
2|5|8
-+-+-
3|6|9

I know it looks lame, but there aren't much possibilities (except if your using graphics).
Last edited on Jan 27, 2010 at 2:41pm
Jan 27, 2010 at 3:05pm
like this?
╔═══╦═══╦═══╗
║ x ║ o ║ o ║
╠═══╬═══╬═══╣
║ x ║ o ║ o ║
╠═══╬═══╬═══╣
║ x ║ o ║ o ║
╚═══╩═══╩═══╝
Last edited on Jan 27, 2010 at 3:09pm
Jan 27, 2010 at 4:30pm
@blackcoder41:

You realize that 'O' is cheating right?
Jan 27, 2010 at 4:32pm
whatever.. it's just a design..
Topic archived. No new replies allowed.