4 ms·
I would recommend using AutoHotkey instead of AutoIt. I wrote some bots for fun for a few similar games but skipped Bejeweled in favor of (a simpler) alternativ
by karpathy 15y ago
I would recommend using AutoHotkey instead of AutoIt. I wrote some bots for fun for a few similar games but skipped Bejeweled in favor of (a simpler) alternative called Diamond Dash. The bot could hold its own but it couldn't beat some of my better friends. To squeeze out the extra performance one has to start doing much more complicated things. For example, the blocks in these games rarely appear in fixed coordinates but slide around, explode (and therefore partially occlude other tiles), etc. Recently, this has been turning into a bit of a cat and mouse game with game developers. For example, they started adding noise on top of sprites to throw off very simple methods.
But there is something very fun in developing scripts that moves your mouse around and play for you. I like that game much better :)
- RC1140 15y agoThanks for the feedback , I will look into autohotkey but in the end autoit was just there to get me started, I want to look at a other languages just to see how it would be done differently.
- patrickk 15y agoI looked into AHK for my roulette bot originally. AutoIt is quite similar to AHK but it can do more complex stuff. If you are just looking for basic GUI manipulation then AHK is your tool for the job. http://stackoverflow.com/questions/1686975/choosing-a-windows-automation-script-language-autoit-vs-autohotkey http://stackoverflow.com/questions/1686975/choosing-a-window...