New question #674406 on Sikuli:
https://answers.launchpad.net/sikuli/+question/674406

Hi everyone,
First of all, I use Sikuli to learn Python from scratches so my programming 
knowledge is pretty basic.

Question: is it possible to read the image of my puzzle (lets say image of 
sudoku board) and write it to a 2-dim array via Sikuli? I want to build a 
puzzle solver but as the game is time-based, I guess it is faster to create an 
array based on image and then make some operations on it. 
The board is always the same and distance between puzzles is constant. 
I want sikuli to verify the shape of the puzzle in each row and column and 
assign some letter or symbol to it in array.

If you are interested, here is the screen of my puzzle.
The idea is to select 4 elements which are the same type and creates a 
rectangle. My approach is to verify throug IF LOOP whether the [i][j], 
[i+x][j], [i][j+y] and [i+x][j+y] elements are of the same type. Then click 
them.
Cheers

https://imgur.com/a/t4ryJTE

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to