eKolin Posted July 25, 2016 Posted July 25, 2016 (edited) ;Hello everyone! I have been working on a huge project (atleast seems huge to me), almost all pieces polished, but i'm missing a sudoku solver. I'm already burnt out, getting sick by only looking at code. Was searching for some solvers on the internet written in au3, but i didin't find a single one that i could modify to be like this: P.s. don't hate me pls, i've wrote this thread through my phone $square1=5 $square2=0 $square3=0 ;And i would type like this whole 81 squares, well not me, the script would find the values (btw the counting is horizontaly, by rows). ;And then i need output $SSquare=5 $SSquare=9 $SSquare=4 ;Something like that, c'mon guys i know u're awesome, i know that some of you have some free time. I'm really burnt out and I want to finish it ASAP. Basicly i want to leach some1 sudoku script. I will add one more question: Would this work? And if not how to fix it? I would need to do this for 81 squares so i want to save some time. I have a chance to figure out how to do this one myself, but not that first question. ;There are images instead of numbers, pretty unusuall ha? Func LookSquare($x,$y,$x1,$y1) $Value0 = _ImageSearchArea("0.bmp",1,$x,$y,$x1,$y1,10,0) If $Value0 = true Then ;I have no ideas for this part, i need that it would say $square1=0. If i just declare $square1=0 then every time i do LookSquare() it will provide info for $square1. EndIf $Value1 =.. ;You get the point, everything repeats till number 9 Endfunc So I need to get 81 squares data, only way allowed is through image search. Edited July 25, 2016 by eKolin
Moderators JLogan3o13 Posted July 26, 2016 Moderators Posted July 26, 2016 @eKolin is your Sudoku Solver part of a Sudoku game you wrote, or are you playing on a website/desktop app? What do you mean by: 1 hour ago, eKolin said: Basicly i want to leach some1 sudoku script. "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum!
eKolin Posted July 26, 2016 Author Posted July 26, 2016 6 hours ago, JLogan3o13 said: @eKolin is your Sudoku Solver part of a Sudoku game you wrote, or are you playing on a website/desktop app? What do you mean by: I'm not quite sure what is algorithm, but i think that i need sudoku algorithm written in au3. I will provide unsolved sudoku data and i need to get solved sudoku data.
jchd Posted July 26, 2016 Posted July 26, 2016 Did you try this one? This wonderful site allows debugging and testing regular expressions (many flavors available). An absolute must have in your bookmarks.Another excellent RegExp tutorial. Don't forget downloading your copy of up-to-date pcretest.exe and pcregrep.exe hereRegExp tutorial: enough to get startedPCRE v8.33 regexp documentation latest available release and currently implemented in AutoIt beta. SQLitespeed is another feature-rich premier SQLite manager (includes import/export). Well worth a try.SQLite Expert (freeware Personal Edition or payware Pro version) is a very useful SQLite database manager.An excellent eBook covering almost every aspect of SQLite3: a must-read for anyone doing serious work.SQL tutorial (covers "generic" SQL, but most of it applies to SQLite as well)A work-in-progress SQLite3 tutorial. Don't miss other LxyzTHW pages!SQLite official website with full documentation (may be newer than the SQLite library that comes standard with AutoIt)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now