With this AI, It's trivial to win as goats by playing as far in the corners as possible on every turn.
edit: I'm not sure the game is coded correctly. It seems like once a tiger moves from A to B, it can never move from B to A. Including cases where the tiger jumps A to C, it cannot jump back from C to A if the goat places another one in B... That feels very unintuitive and untrackable in a real world game.
As it stands now, a tiger player cannot move a tiger to it's previous spot from several turns prior, including capturing over the same space. Which means that even if the goat player loses a goat, they can put a goat back in the same space and it'll now be safe (vs. the tiger that just captured it at least). I'm not convinced it is possible to win against a competent goat player.