Very good bot program, good work mate.
Very nice program, good work!
But where the heck did you learn all that stuff and only thing I saw in the source was like 1 + 2 40 (y - x( -1)) / 11 x / y = solved
O_O you must be genious
(Mar 25, 2012 12:32 PM)SIM-1078643 Wrote: Very nice program, good work!
But where the heck did you learn all that stuff and only thing I saw in the source was like 1 + 2 40 (y - x( -1)) / 11 x / y = solved
O_O you must be genious
Hahaha :P
It makes perfect sense if you look at how it works.
1. The board is 320x320 so each "block" is 40 pixels in height and width.
2. You store everything in a 2D array, so you can check each block like this: NumGrid(x,y). Each number represents a color.
3. You recognize the patterns. Pretty basic math, really.
4. Found a match? Drag the mouse using the DragMouse sub.
That's all there's to it :)
Some good shit, nice work dude! These kind of things are pretty cool.
DO NOT DEAL WITH THIS MEMBER
Code is incredibly messy. it can be done with like 80% less code.
(Mar 25, 2012 02:44 PM)H3x0S Wrote: Code is incredibly messy. it can be done with like 80% less code.
The code is poor at best. Really is reused again and again.
(Mar 25, 2012 12:54 PM)Meerkat. Wrote: Hahaha :P
It makes perfect sense if you look at how it works.
1. The board is 320x320 so each "block" is 40 pixels in height and width.
2. You store everything in a 2D array, so you can check each block like this: NumGrid(x,y). Each number represents a color.
3. You recognize the patterns. Pretty basic math, really.
4. Found a match? Drag the mouse using the DragMouse sub.
That's all there's to it :)
I have mentioned this in Perplexity's thread:
What if the user has his browser zoomed in or out? Then the board wouldn't be 320x320, wouldn't it?
If you don't like the code, you guys can look at mine :3
(Mar 25, 2012 03:11 PM)Perplexity Wrote: If you don't like the code, you guys can look at mine :3
Then post it up. How can we view it if there is no link?
Mar 25, 2012 03:14 PM
(This post was last modified: Mar 25, 2012 03:15 PM by Perplexity.)
(Mar 25, 2012 03:13 PM)ident Wrote: Then post it up. How can we view it if there is no link?
Maybe you should read the the thread that I posted, derpy herp herp.
Anyway, I'll pm you the link.
EDIT: Nice PM settings ¬_¬
(Mar 25, 2012 03:13 PM)ident Wrote: Then post it up. How can we view it if there is no link?
He made a topic before this. If I remember correctly it had a link to the source.
Asking a member to PM the OP for the source is kiddy crap
(Mar 25, 2012 03:18 PM)ident Wrote: Asking a member to PM the OP for the source is kiddy crap
Whoa that was close, I almost gave a fuck.
Either way, do you want the source or not?
i wait with baited breath
PM settings have changed
(Mar 25, 2012 02:44 PM)H3x0S Wrote: Code is incredibly messy. it can be done with like 80% less code.
I know. I even said it in the start post. My goal was to get a fast working bot, not to make a super-accurate bot that's super tidy and stuff.
It works, how about yours? 😅
|