Source Code
Toolbox
42 / wfmag.cc
Directory
Toolbox
Handy game AI
tutorials and resources
The total beginner’s guide to game AI
GameDev.net’s primer is a good place to learn about the concepts of artificial intelligence in games,
from basic decision-making to pathfinding to finite state machines.
wfmag.cc/beginner-ai
Pac-Man’s ghost AI
If you want to learn how to create AI characters with personality in just a few lines of code, then
Pac-Man is worth studying in detail. GameInternals’ deep-dive is an ideal place to start.
wfmag.cc/pac-ghost
Reinforcement Learning in Python
Mauro Comi shows you how to develop an AI Bot capable of learning how to play that old Nokia
mainstay, Snake, with Python and Pygame.
wfmag.cc/snake-learning
Make an AI-powered Unity game
This Udemy course shows you how to use C# and NavMesh to make an AI spaceship that can
explore a three-dimensional planet.
wfmag.cc/ai-ship
AI in Unreal Engine 4
Learn how to use controllers and behaviour trees to create a simple AI character that roams and
attacks enemies in Unreal Engine 4.
wfmag.cc/unreal-attack
Pathfinding in Unity
Never heard of A* Search or Dijkstra’s algorithm? This Udemy tutorial teaches you these concepts,
and how to implement them in a 2D maze.
wfmag.cc/unity-path
Advanced AI for games
Another Udemy course, this time about Goal-Oriented Action Planning to create smoother and
smarter non-player character movement.
wfmag.cc/ai-goap
If the cunning AI in our Substitute Soccer game left you wanting
to learn more about the subject, here are some suggestions
Directory
Pac-Man used simple
algorithms to give its ghosts
individual movement patterns.
There’s a bug in the code,
though – you can read Don
Hodges’s geeky explanation at
wfmag.cc/pac-bug.
GET
INVOLVED
Do you have an online
tutorial you’d like to share
with readers? Have you
created an online resource
that other game developers
might find useful? Maybe
you have a local code club
you’re keen to promote? If
you have something you’d
like to see featured in the
Directory, get in touch with
us at wfmag.cc/hello