View previous topic :: View next topic |
Author |
Message |
Benji Random spam moderator
Reputation: 3
Joined: 31 Dec 2007 Posts: 59 Location: The Netherlands
|
Posted: Wed Feb 04, 2009 9:27 am Post subject: |
|
|
Garfield wrote: | nwongfeiying wrote: | I was asking because I was going to make a Gomaku game and you can't just hard-code that sucker...unless you plan on wasting years of your life. |
You are right
number the fields(for their names) from uper left to lower right
then its like
X - 1 = "X" and X - 2 = "X" and X - 3 = "X" and X - 4 = "X"
for checking to left, would still be much cause of the fields that are not so deep in middle, don't know
|
_________________
|
|
Back to top |
|
 |
nwongfeiying Grandmaster Cheater
Reputation: 2
Joined: 25 Jun 2007 Posts: 695
|
Posted: Thu Feb 05, 2009 9:22 pm Post subject: |
|
|
I wonder how Nexon did it. They have the 3 x 3 rule in there too.
|
|
Back to top |
|
 |
jdm Advanced Cheater
Reputation: 0
Joined: 19 Sep 2008 Posts: 88
|
Posted: Thu Feb 05, 2009 9:25 pm Post subject: |
|
|
What language did you program this in and are you planning to release the source?
|
|
Back to top |
|
 |
nog_lorp Grandmaster Cheater
Reputation: 0
Joined: 26 Feb 2006 Posts: 743
|
|
Back to top |
|
 |
nwongfeiying Grandmaster Cheater
Reputation: 2
Joined: 25 Jun 2007 Posts: 695
|
Posted: Mon Feb 09, 2009 6:22 pm Post subject: |
|
|
nog_lorp wrote: | nwongfeiying wrote: | I wonder how Nexon did it. They have the 3 x 3 rule in there too. |
Why don't you look?  |
How so? Are you suggest that I should hack Nexon in hopes that they keep the source code of their game on there?
|
|
Back to top |
|
 |
nog_lorp Grandmaster Cheater
Reputation: 0
Joined: 26 Feb 2006 Posts: 743
|
|
Back to top |
|
 |
nwongfeiying Grandmaster Cheater
Reputation: 2
Joined: 25 Jun 2007 Posts: 695
|
Posted: Wed Feb 11, 2009 7:25 pm Post subject: |
|
|
The Maple Story client...hmm....I don't know. I'm not an expert on reverse engineering and something tells me that Nexon is going to make it hard on me.
|
|
Back to top |
|
 |
92Garfield I'm a spammer
Reputation: 57
Joined: 20 Dec 2007 Posts: 5871 Location: Banana Republic Germany
|
Posted: Mon Feb 16, 2009 12:18 pm Post subject: |
|
|
jdm wrote: | What language did you program this in and are you planning to release the source? |
VB (not .Net), I'm not going to release the source..
_________________
|
|
Back to top |
|
 |
mathewthe2 Grandmaster Cheater
Reputation: 0
Joined: 28 Aug 2008 Posts: 562 Location: behind you... BOO!
|
Posted: Wed Feb 18, 2009 5:02 am Post subject: |
|
|
Epic Cat Garfield wrote: | jdm wrote: | What language did you program this in and are you planning to release the source? |
VB (not .Net), I'm not going to release the source.. |
have more creation.....they are so much vb tic tac toe sources out ther
_________________
|
|
Back to top |
|
 |
Geek4Ever Master Cheater
Reputation: 1
Joined: 31 Oct 2008 Posts: 353 Location: Milano,Texas
|
Posted: Mon Mar 16, 2009 11:33 am Post subject: |
|
|
its easy to beat just chose
THEN U WIN
middle Left
Bottom Left
Top Left
Middle
Top Middle
Top Right
|
|
Back to top |
|
 |
V.A.C.H. Newbie cheater
Reputation: 0
Joined: 05 Dec 2008 Posts: 22 Location: Just arrived at mars
|
|
Back to top |
|
 |
92Garfield I'm a spammer
Reputation: 57
Joined: 20 Dec 2007 Posts: 5871 Location: Banana Republic Germany
|
Posted: Mon Mar 16, 2009 4:30 pm Post subject: |
|
|
There are exactly 8 ways of winning! in numbers 8 in word eight
use if
then number nothing = 0, x = 1, O = 2
for i = 1 to 2
the 8 if conditions
next i
_________________
|
|
Back to top |
|
 |
V.A.C.H. Newbie cheater
Reputation: 0
Joined: 05 Dec 2008 Posts: 22 Location: Just arrived at mars
|
Posted: Tue Mar 17, 2009 8:44 am Post subject: |
|
|
without using ifs.. thats so noobish...and takes a bunch of lines
i did it with for loops.
theres a pattern if you looks close between the 8 ways of winning.
_________________
V. Visual Basic
A. Assembly
C. C++/C
H. Hex |
|
Back to top |
|
 |
92Garfield I'm a spammer
Reputation: 57
Joined: 20 Dec 2007 Posts: 5871 Location: Banana Republic Germany
|
Posted: Wed Mar 18, 2009 1:37 pm Post subject: |
|
|
V.A.C.H. wrote: | without using ifs.. thats so noobish...and takes a bunch of lines
i did it with for loops.
theres a pattern if you looks close between the 8 ways of winning. |
24 ifs for comp x, comp y win and stop winning
would be 96 but stays 24 with a lil thinking
_________________
|
|
Back to top |
|
 |
V.A.C.H. Newbie cheater
Reputation: 0
Joined: 05 Dec 2008 Posts: 22 Location: Just arrived at mars
|
Posted: Wed Mar 18, 2009 4:59 pm Post subject: |
|
|
1. did you make two AI's an Offensive and Defensive?
2. For the (offensive) AI did you use the following method?
Code: | 1. put x in random spot
2. check if there is any O's in the horizontal, if there isn't put it in vertical
3. put x in random spot
4. repeat 2
5. repeat 1
6. repeat 2
~ so on...
|
_________________
V. Visual Basic
A. Assembly
C. C++/C
H. Hex |
|
Back to top |
|
 |
|