Search found 75 matches

by Trebor29
Sat Jan 08, 2011 5:59 pm
Forum: .Net & Other Programming
Topic: Another Tick Tack Toe Question!?
Replies: 15
Views: 19579

Re: Another Tick Tack Toe Question!?

Hi Neo, Sorry to be a pain, but I need some more help with the TickTackToe game... I know you love it really! :lol: The problem I am having is calculating the winners on a diagonal, as it only recognises a diagonal win when on the center diagonals i.e. anywhere on the corner to corner(s)... nowhere ...
by Trebor29
Fri Dec 31, 2010 8:09 pm
Forum: .Net & Other Programming
Topic: Another Tick Tack Toe Question!?
Replies: 15
Views: 19579

Re: Another Tick Tack Toe Question!?

You the man Neo! ;)

Happy New Year :P
by Trebor29
Fri Dec 31, 2010 3:05 am
Forum: .Net & Other Programming
Topic: Another Tick Tack Toe Question!?
Replies: 15
Views: 19579

Re: Another Tick Tack Toe Question!?

Ive sent the code again with some irrelevant areas minimised, incase all the code is too confusing: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.Med...
by Trebor29
Fri Dec 31, 2010 2:59 am
Forum: .Net & Other Programming
Topic: Another Tick Tack Toe Question!?
Replies: 15
Views: 19579

Re: Another Tick Tack Toe Question!?

Hi Neo, I have implemented that into my code and it works great. The only thing I would like to change is the winning comb's; for grid sizes 3, 4, 5 and 6, the number of (X or O) in a line for a win is 3, 3, 4 and 4 consecutivly. (I think thats the right word) I have changed arr_comb_X , arr_comb_O ...
by Trebor29
Thu Dec 30, 2010 11:50 pm
Forum: .Net & Other Programming
Topic: Another Tick Tack Toe Question!?
Replies: 15
Views: 19579

Re: Another Tick Tack Toe Question!?

Oh yes.. I see it now, in the Global vars! :oops:

Thanks Neo.
by Trebor29
Tue Dec 28, 2010 12:39 am
Forum: .Net & Other Programming
Topic: Another Tick Tack Toe Question!?
Replies: 15
Views: 19579

Re: Another Tick Tack Toe Question!?

Hi Neo..... hope you've had a good Christmas. WoW, didnt expect you to spend an hour on it... Thank you ;) It looks great, you've zapped it right down :ugeek: . I will let you know how it goes, wont do it now as tooo tired from all this Christmas eating n drinking! :D Just one question; what is 'N' ...
by Trebor29
Sun Dec 26, 2010 8:03 pm
Forum: .Net & Other Programming
Topic: Another Tick Tack Toe Question!?
Replies: 15
Views: 19579

Re: Another Tick Tack Toe Question!?

Hi Neo, Merry Christmas... Ye sorry, I will reduce the code now. It does work fine, but Im sure you will agree that there is a lot of repeated code and I was just hoping there might be a better way of doing it. Thanks. private void checkForWinner() { if(gridSizeComboBox.SelectedIndex == 0) { B++; //...
by Trebor29
Fri Dec 24, 2010 9:11 pm
Forum: .Net & Other Programming
Topic: Another Tick Tack Toe Question!?
Replies: 15
Views: 19579

Another Tick Tack Toe Question!?

Hi all, Ive made a 2 player Tick Tack Toe game and have got it all working with bells n whistles etc. But... where I have the winning combinations, there is a ridiculas amount of repeated code and was hoping somone might know of a better way to do this... maybe by checking through a loop or somthing...
by Trebor29
Mon Nov 22, 2010 8:55 pm
Forum: .Net & Other Programming
Topic: Two TickTackToe questions....
Replies: 6
Views: 11659

Re: Two TickTackToe questions....

:shock: I maybe some time with this...! :)
by Trebor29
Mon Nov 22, 2010 7:11 pm
Forum: .Net & Other Programming
Topic: Two TickTackToe questions....
Replies: 6
Views: 11659

Re: Two TickTackToe questions....

aaahhhh Neo... bursting my bubble! :lol: Your code does work better than mine, but I still need to make the (100 margin) 400.. which seems to make it very similar. Any smaller than 400 just shrinks the form. Not sure about (Width = Height = 400 + 60*3 = 580), doesn't this say the buttons are added o...

Go to advanced search