The main ways that AI opponents work in tabletop games, and a how-to template for designing one of your own (video):

https://www.youtube.com/watch?v=kXrar73aUjs