How to align images with Sikuli Automation
I'm trying to automate a simple game which has mini games in it. I'm trying to automate 2 mini games which i have trouble doing.
1. matching the color in the center with the color on the side. Let's assume X is the color in the center.
A
B X C
X
So if X on the bottom matches the center, I need to swipe down. If X is on the right, then swipe. The image are similar but on the side is a 'long' version of the image in the center. How can i do that?
2. Aligning images (sort of like 4 in a row game)
ABC
ABCXXX
ABC
basically the center row can be dragged left or right. I need to align the ABC to the top and bottom. How can I do that in sikuli?
I'm using the IDE to do that. So the language is jython i believe.
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Nobody for more information if necessary.