Ludii Forum
number of friendly pieces in line of sight - Printable Version

+- Ludii Forum (https://ludii.games/forums)
+-- Forum: Questions (https://ludii.games/forums/forumdisplay.php?fid=13)
+--- Forum: About the Ludii Grammar (https://ludii.games/forums/forumdisplay.php?fid=15)
+--- Thread: number of friendly pieces in line of sight (/showthread.php?tid=159)

Pages: 1 2 3 4 5


RE: number of friendly pieces in line of sight - AlekErickson - 10-05-2020

Hi, I have a new idea regarding AI playing strength.

One basic heuristic is that it is *ALWAYS* bad to play on locations where the opponent has more lines of sight than you, because they can simply immediately capture. When this happens, it is almost like the opponent gets an extra move, which is always good for the person who got the extra move.

AI often plays where it can be immediately captured, and also often fails to immediately capture pieces if they can be captured. If we simply make a variant where moving onto opponent-dominated cells is illegal, the AI will automatically be a lot stronger, while losing absolutely zero gameplay value.


RE: number of friendly pieces in line of sight - Michael - 10-05-2020

I like the general idea of trying to make the implementation more AI friendly. There are probably more things we could do. We can at least experiment a bit and see if you notice a difference.


RE: number of friendly pieces in line of sight - AlekErickson - 10-05-2020

Michael, how far away are you from understanding how to create AI in Ludii?
Maybe we could work together to get some of the basic Tumbleweed heuristics written into a computer opponent.


RE: number of friendly pieces in line of sight - Michael - 10-05-2020

I’m afraid I’m nowhere near. I’m not a programmer, and I have never done anything in Java. I wish I could help more.