I Am A Programmer Interested In Ai. I Am Writing A Game That Needs Ai. Where Do I Start?

It depends on the outcome of the game. Look at the “Mini-max” search method for games if it’s a two-player board game. In most commercial games, the AI is made up of a mix of high-level scripts and low-level, real-time, rule-based algorithms that are effectively built. For computer players, commercial games frequently employ finite state machines. Discrete Markov models have recently been utilized to describe unpredictable human players (the buzzword compliant name being “fuzzy” finite state machines).
The non-human controlled characters in the popular game “Black and White” were created using machine learning techniques. The learning system included basic reinforcement learning, perceptrons, and decision trees.