Hrily / TicTacToe

Android TicTacToe Game
1 stars 4 forks source link

Rule based AI #6

Open LauraLaureus opened 8 years ago

LauraLaureus commented 8 years ago

Rule based AI. I have tested the initial case and some of them. I only lose once but the rest of times I got draw.

Hrily commented 8 years ago

Well, There are far more changes. I expected it to be done with few changes, keeping the modules same. Though, respecting your effort and work, I'll test the code, and if it works fine, I'll merge it.

Hrily commented 8 years ago

I tested it, its still beatable... screenshot_20161022-151504

LauraLaureus commented 8 years ago

The original versión it's quite difficult to determine "a priori" if the enemy is going to have a chance of fork without develop state space tree. That's why I did such a "rule base" struture. Can you send me the movements you did to study the failure?

Hrily commented 8 years ago

Can you send me the movements you did to study the failure?

Just mark any two diagonally opposite corners as first two moves

I think it would do if computer blocks the fork by marking the opposite corner? What do you think?

LauraLaureus commented 8 years ago

Sorry for the delay, I'm attending a Gamejam but I'm working on it on free times.

Hrily commented 8 years ago

It's okay... Take your time :)

sbshah97 commented 7 years ago

Any updates on this @LauraLaureus