← Back to team overview

sikuli-driver team mailing list archive

[Question #226602]: place chips on the table

 

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

I have 5 chips and the game table. Test is the following: click on a chip - click on a number on the game table, click on another chip - click on another number on the table. The script should place all 5 chips onto the game table. I tried the following code

chips = [chip1.png, chip2.png, chip3.png, chip4.png]
numbers= [number1.png, number2.png, number3.png, number4.png]

for chip in chips:
       for number in numbers:
              click(chip)
              click(number)

Sikuli placed the first chip from the list only.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.