Skip to content

#03 | Training

Game AI Training at Başkent University

Our founder Can Karabulut taught finite state machines and pathfinding, the AI algorithms behind games, to students at Başkent University.

Date
07/12/2023
Time
13:00
Venue
Başkent University
Location
Ankara, Türkiye
Organiser
IEEE Başkent Student Branch

The Computer Society committee and the Artificial Intelligence Study Group of the IEEE Başkent University Student Branch invited us to their AI Training Series. In a session of about ninety minutes, our founder Can Karabulut, a computer engineer, showed how AI algorithms work in games. Our computer engineer Batuhan Tatlısert gave an introduction to game coding. More than 70 students joined, and we put what we learned into practice by coding a game together.

Event poster | Click to enlarge

What We Covered

The first part was about finite state machines (FSM), the model that moves a character, an enemy or a menu between behaviours such as waiting, patrolling, chasing and attacking. We showed three ways to build one in Unity, with an enum, with a class for each state and with the Animator, and designed a boss character with five states as an example.

The second part compared the pathfinding algorithms BFS, DFS, Dijkstra, A* and the greedy approach. We looked at which of them find the shortest path, how they handle edge weights and why a good heuristic makes A* faster than Dijkstra in most cases.

Coding a Game Together

After the theory, Batuhan's introduction to game coding and the algorithms came together in a game we wrote with the students. You can watch short moments from the session below.

Thank You

Many thanks to the IEEE Başkent University Student Branch, its Computer Society committee and its Artificial Intelligence Study Group for hosting us, and to every student who joined.

Videos

Photos

On Social Media

Open to see the LinkedIn posts about this story.

Invite us to your event

Planning a Session on Your Campus?

Get in touch