Tic Tac Toe game with robot

Asked by Michele

Hello All,

I'm trying to automate a tic tac toe game with Sikuli, but I am a beginner.
Are there someone who already created a game, regardless the site where is the automation to show me how it works.

Be careful, I don't want to send me your fully finished code, I just want to show me how you develop the code and what logic you use.
I have seen the same question from another user, but be sure - I am not a student :)

Thanks in advance.

Question information

English Edit question
SikuliX Edit question
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Michele (michele0090) said :

This is just for my hobby and I enjoy in my free time.

Revision history for this message
RaiMan (raimund-hocke) said :

In a first step simply write down the steps of some basic workflow, like
- open webpage of game
- click start button
- wait for the initial screen content
- ...

you might just do this in the SikuliX IDE like so
# open webpage of game
# click start button
# wait for the initial screen content

so the lines are just taken as comment lines

Now you might add real code and captured images (using the capture button):

# click start button
startBtn = <captured image>

Just look for some sample scripts in the net to get some basic ideas.

Scan the SikuliX docs to get a feeling about the features.

Learn some basic Python, to be able to script more complex workflows.

Can you help with this problem?

Provide an answer of your own, or ask Michele for more information if necessary.

To post a message you must log in.