Help.
-
:thumbsup: That's pretty much what I was going to say.
Yes I found that mistake too. Actually I've not included any animation that shows "you win" because it's an unbeatable game. Anyways now try it again. Thanks all for making me correct this problem.
-
Yes I found that mistake too. Actually I've not included any animation that shows "you win" because it's an unbeatable game. Anyways now try it again. Thanks all for making me correct this problem.
Shivamkalra wrote:
Actually I've not included any animation that shows "you win" because it's an unbeatable game.
Patently not!
I have learnt that you can not make someone love you, all you can do is stalk them and hope they panic and give in. Apathy Error: Don't bother striking any key.
-
Hello, I created a school project on "unbeatable tic.tac.toe game". I created a best possible AI I could. I've tested my program many times and I could't beat it but my friend told me that he beated it but he is not able to redo it. Can someone go to my blog and play a game for whila dn report some bugs or improvement or anything about it here..Here is my blog: http://shivam-kal[^]
As long as your next step isn't to create Global Thermonuclear War. Your computer isn't called WOPR is it? Well done on the game though.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith
As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
-
Hello, I created a school project on "unbeatable tic.tac.toe game". I created a best possible AI I could. I've tested my program many times and I could't beat it but my friend told me that he beated it but he is not able to redo it. Can someone go to my blog and play a game for whila dn report some bugs or improvement or anything about it here..Here is my blog: http://shivam-kal[^]
-
As long as your next step isn't to create Global Thermonuclear War. Your computer isn't called WOPR is it? Well done on the game though.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith
As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
You Bastard! I was just going to comment on the possibility of upgrading to Global Thermonuclear War when I saw you beat me to it ! Oh Well, perhaps I could get to fly pteradactyls.
------------------------------------ I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave
-
You Bastard! I was just going to comment on the possibility of upgrading to Global Thermonuclear War when I saw you beat me to it ! Oh Well, perhaps I could get to fly pteradactyls.
------------------------------------ I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave
I also beat you with the David Cameron as PM last night :-D Hooray - no more Brown....
"WPF has many lovers. It's a veritable porn star!" - Josh Smith
As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
-
I also beat you with the David Cameron as PM last night :-D Hooray - no more Brown....
"WPF has many lovers. It's a veritable porn star!" - Josh Smith
As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
Pete O'Hanlon wrote:
Hooray - no more Brown....
I could cry with joy. Did you see him enrol his family in the ritual humiliation as he walked away from Downing Street? He really is a cyplopian, jug-eared, lantern-jawed, tosser. I feel sorry for Sarah Brown, now he is at home with nothing to do he will want more sex. Poor girl has to lay there with that ugly wanker jiggling on top with his detatchable face flapping as he grunts his way to personal satisfaction.
------------------------------------ I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave
-
fat_boy wrote:
He cant even debug a 'noughts and crosses' game?
Surely everybody has been at this stage at some point in there life and school is the usual place to acquire the know how.
SO he knows how the game of noghts and crosses works. And he can write code to produce a game to play it. Yet he DOESNT notice when it mistakes a win for a loose, or continues playing, ignoring diagonal lines? Sorry, thats not normal.
Morality is indistinguishable from social proscription
-
You don't need to download anthing, it's an silverlight application. I've assumed that every one here has SL3 runtime.
I refuse to install that crap on my PC. I only installed flash because a website that I absolutely had to use needed it. Even then I installed a Script blocker to make usre I didn't get infested on every other internet page I visited. If you're writing for the web I'd recommend using things like HTML and ECMA Script.
-
Dino Mulahusic wrote:
tree in a line
I'm sure treelines aren't part of classic noughts and crosses!! ;-)
I don't have ADHD, I have ADOS... Attention Deficit oooh SHINY!! If you like cars, check out the Booger Mobile blog | If you feel generous - make a donation to Camp Quality!!
Sounds like Irish noughts and crosses to me.
-
Pete O'Hanlon wrote:
Hooray - no more Brown....
I could cry with joy. Did you see him enrol his family in the ritual humiliation as he walked away from Downing Street? He really is a cyplopian, jug-eared, lantern-jawed, tosser. I feel sorry for Sarah Brown, now he is at home with nothing to do he will want more sex. Poor girl has to lay there with that ugly wanker jiggling on top with his detatchable face flapping as he grunts his way to personal satisfaction.
------------------------------------ I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave
I can't work out whether to give you a 5 for making me laugh or a 1 for making me vomit so you'll have to make do with a 3
-
SO he knows how the game of noghts and crosses works. And he can write code to produce a game to play it. Yet he DOESNT notice when it mistakes a win for a loose, or continues playing, ignoring diagonal lines? Sorry, thats not normal.
Morality is indistinguishable from social proscription
Give the kid a break - he's at school, and at least showing initiative looking for solutions, and asking for help in a constructive way - not just a "here's my assignment question". Or do you get your kicks bullying children?
-
Pete O'Hanlon wrote:
Hooray - no more Brown....
I could cry with joy. Did you see him enrol his family in the ritual humiliation as he walked away from Downing Street? He really is a cyplopian, jug-eared, lantern-jawed, tosser. I feel sorry for Sarah Brown, now he is at home with nothing to do he will want more sex. Poor girl has to lay there with that ugly wanker jiggling on top with his detatchable face flapping as he grunts his way to personal satisfaction.
------------------------------------ I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave
I saw the aerial footage as the movers were round the back. :laugh:
"WPF has many lovers. It's a veritable porn star!" - Josh Smith
As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
-
SO he knows how the game of noghts and crosses works. And he can write code to produce a game to play it. Yet he DOESNT notice when it mistakes a win for a loose, or continues playing, ignoring diagonal lines? Sorry, thats not normal.
Morality is indistinguishable from social proscription
Let me tell you, I do know all the rules of Tic-Tac-Toe but to make an unbeatable game, my code take into consideration next two most probable moves and then avoid any chance of loosing. It does my avoiding a place where user get chance to win twice. Well, I think you are having some problem from the question I asked because you are not looking happy and making irrelevant comments. Since a Tic-Tac-Toe game has 9 cells it's not possible to have 9*9 (81) if else statements that's why even for such a small project I would have to use min max algorithm which itself behaves in complicated way. One more thing to add, I was't able to figure out problem myself because there was only one pattern where my code was giving strange output and when the guy in forum showed me pic I certainly realized that pattern and quickly corrected it. I think it not harm you seek anybody's help, we all are friends here and we should help each other instead of making rude and meaningless comments. But you think I did some mistake in asking the question then I'm sorry about it. But whenever you need any help I'll be there for your help and I won't make any rude and meaningless statements. As you said "He can't even debug a simple...", well you could check that I've written some good articles, with good good ratings and views as well but I can't even see a single article written by you which surely shows that you don't do anything useful here accept making meaningless comments on other posts.