So chess engine is a long known thing. Go softwares are newer. But now they even programmed engines that plays poker!
So modern engines/softwares try to play GTO (Game Theory Optimal) poker, which is basically theoretically perfect poker. Here are some examples of these things known as GTO solvers.
http://piosolver.myshopify.com/
http://simplepostflop.com/en/