r/gameai • • Aug 08 '25

Can we please make this about game npc’s again, not generative AI

461 Upvotes

Hi!

I have joined this subreddit because I’m interested in what’s traditionally known as game AI. FSM, Behaviour Trees, Utility AI, GOAP etc

Can we please start banning all random generative AI slop that’s spamming this subreddit?

Edit: “using an LLM to make interactive npc” is not the same as “using an LLM to make games”.

If you’re actually using LLM’s to make behavioural AI that’s awesome and please share


r/gameai • • Jan 29 '20

Game AI Pro 3 is now available for FREE

Thumbnail
twitter.com
93 Upvotes

r/gameai • • Sep 14 '26

Change of subreddit ownership

64 Upvotes

Hey folks,

If you're like me and you've been finding this subreddit a bit frustrating with its lack of moderation and no enforcement of its rules while we're overrun with LLM-based "look at my slop game" posts, hopefully this is some useful news to you!

I managed to gain ownership of the subreddit and would love to clean up the slop so we can actually talk about game AI.

For starters, I'd love to take on any suggestions you have for how to improve the place. From my POV, I'd like to put in place a much better filter to catch the lazy LLM posts as well as actively policing and removing them, and then see what this place looks like after that. It's okay if this place is quiet until it's useful for the odd interesting post - we don't need to force it. Please report any posts that are not about game AI (which includes slop-posting).

Thanks all!

PS Thanks to Dave for his work moderating and shepherding the community for so many years and for participating in so many conversations.


r/gameai • • Apr 24 '20

/r/GameAI reopened

54 Upvotes

We aren't sure what happened to either /u/EmoryM (the founder and mod of this sub) or why/how it was temporarily changed to only allow posts from "approved users" (of which there didn't seem to be any). However, I asked Reddit to take over the sub since Emory hasn't been active on Reddit for 3 years. It took them a while, but they did so. I'll keep an eye on things and make sure it is all running smoothly. In the mean time, go forth and share stuff!


r/gameai • • Sep 23 '20

AI from a game I'm working on, agents understands cover, flanking, danger and other basic needs

53 Upvotes

r/gameai • • Oct 08 '26

Game AI I made a SlayTheSpire2 AI that wins 86% of runs at A0

47 Upvotes

Full write-up here. I also released ~5k run logs here.

This is the first milestone of my project, and currently it can only play Ironclad. I haven't yet measured the A10 win rate, but my next milestone is winning A10 at >50% win rate. I have spent ~7 months on this project, starting in March.

A large portion of this project was done via coding agents (I used Claude/Gemini).

The clip is made by creating a mod that can interfaces with the game, via HTTP.

Happy to take any questions :)


r/gameai • • Mar 10 '26

Flock mechanics for six-legged arctic creatures

42 Upvotes

r/gameai • • Nov 09 '12

The AI Sandbox™ Competition: Capture The Flag. Now Starting!

Thumbnail
aisandbox.com
41 Upvotes

r/gameai • • Jul 13 '15

A Python Game Engine for teaching Game AI

39 Upvotes

Hi all.

I have developed a Python game engine especially designed for teaching Game AI. I'm pleased to make it available for everyone to use in their own classes: http://game-ai.gatech.edu/

Each assignment builds a core AI component into the game engine. After a sequence of short assignments, one will have built an entire, working MOBA game for an AI-vs-AI competition.

I hope you find it useful!


r/gameai • • May 12 '23

I build a GPT4 bot that can play Minecraft, chop trees, build a house, and follow your commands

37 Upvotes

r/gameai • • Mar 09 '24

Yesterday I released my game about battling an AI that can cheat in chess with crazy rules. Feel free to ask any questions!

36 Upvotes

r/gameai • • Mar 09 '21

Introduction to Starcraft, Strategy, and Bot AI Programming

Thumbnail
youtube.com
36 Upvotes

r/gameai • • Nov 19 '25

Perception AI: The Most Overlooked System in NPC Behavior (Deep Dive)

33 Upvotes

When people talk about Game AI, the discussion usually jumps straight to behavior trees, planners, or pathfinding. But before an NPC can decide anything, it has to perceive the world.

Perception was actually one of the first big problems I ever had to solve professionally.
Early in my career, I was a Game AI Programmer on an FPS project, and our initial approach was… bad. We were raycasting constantly for every NPC, every frame, and the whole thing tanked performance. Fixing that system completely changed how I thought about AI design.

Since then, I’ve always seen perception as the system that quietly makes or breaks believable behavior.

I put together a deep breakdown covering:

  • Why perception is more than a sight radius or a boolean

  • How awareness should build (partial visibility, suspicion)

  • Combining channels like vision + hearing + environment + social cues

  • Performance pitfalls (trace budgets, layered checks, “don’t raycast everything”)

  • Why social perception often replaces the need for an AI director

  • How perception ties into decision-making and movement

Here’s the full write-up if you want to dig into the details:
👉 Perception AI

Curious how others here approach awareness models, sensory fusion, or LOS optimization.
Always love hearing different solutions from across the industry.


r/gameai • • Jul 30 '26

I built a game AI companion with nearly 7,000 lines of behavioral data without using an LLM

32 Upvotes

I'm developing a first-person RPG in GameMaker and wanted my AI companion to feel like an actual character rather than a traditional NPC.

Instead of using an LLM, I built a custom game AI system based around persistent memory, emotional states, contextual reactions, and behavioral data.

The system currently has nearly 7,000 lines of data describing what the AI can remember, how she reacts to different situations, and how her psychological state can change throughout the game.

The amount of data eventually became large enough that I moved it into an external .ini file rather than keeping everything directly inside the GameMaker project.

The video below shows the system in action. I can interact with the AI by typing messages, and her responses are generated based on the information and behavioral data stored in her database.

I'm interested in how other developers approach non-LLM AI companions in games. How do you handle memory, emotional states, contextual reactions, and large amounts of behavioral data?


r/gameai • • Jan 19 '26

How are you currently experimenting with game-playing AI agents?

32 Upvotes

I’ve been spending some time experimenting with game-playing AI agents and trying to find a setup that makes iteration feel less painful. A lot of the time, I feel like I’m choosing between very research-heavy frameworks or tightly coupled game logic that’s hard to reuse once the experiment changes.

In one of the projects I’m involved with, we’ve been testing a game-playing AI system called NitrogenPlayer alongside some custom environments. What I found interesting wasn’t so much raw performance, but how easy it was to tweak agent behavior and observe how strategies evolved over multiple runs without constantly rebuilding the pipeline.

I’m still exploring different approaches, so I’m curious how others here think about this. When you’re working on game AI, what usually matters more to you: flexibility during experimentation, or having a highly optimized setup early on? And have you ever switched tools mid-project because iteration became too slow or restrictive?

Mostly just looking to learn how other people in this space approach it, since everyone seems to optimize for slightly different things.


r/gameai • • Oct 11 '23

Is GOAP really that bad?

32 Upvotes

I am now finishing my master's thesis and I have used GOAP with a regressive A* algorithm to make dynamic plans for my NPCs. I have used multiple optimizations, the primary being a heuristic approach I termed Intended Uses.

Intended Uses determines both the search space of available behaviours (they should contain any value of the intended use, which scales from 0 to 100) and gives them an appropriate value (or cost) depending on the intended value.

I wont get into much detail but I have created an Expression system which is essentially a way of having procedural (or "context" as Jeff Orkins called it) preconditions and effects for goals and behaviours that they also allow matching for real fast formulation of plans. To compliment this I have created a designer tool, a graph node editor to allow easy creation of complex expressions.

I am well aware of the disadvantages and advantages of GOAP and I have recently come across some threads really trashing on GOAP getting me worried, but I firmly believe it to be a great system to decouple behaviours and goals, and give the designer crazy freedom on designing levels and adjusting values.

What are your thoughts on the issue?

My presentation is in one month and I would love to discuss the issue with any experienced and non-experienced game developer. Cheers 🍻


r/gameai • • Aug 05 '22

Open-sourced Utility AI, Influence Maps and few other AI-related things (Unity DOTS / ECS)

32 Upvotes

Four years ago I started working on my own implementation of UtilityAI with the idea of accelerating it using Unity's DOTS / ECS architecture by making it completely data oriented. I've spent nearly a year working and experimenting with this ( you can see some of my progress on this twitter page https://twitter.com/OutstandingXp ).

I told myself that if I ever stopped working on it, after a year, I would open-source it.

Many years have passed and I'm no longer doing game development. This code sat in my private repository untouched for far too long. Only recently did I get the motivation to finally do something about it, so I published the project while trying to describe as much of its contents in README as possible: https://github.com/Xerios/ECS-AI

Unfortunately, Unity deleted few packages that this project depended on and it is now impossible to run unless the code is migrated to the oldest available package versions.

A lot of the work was inspired by u/IADaveMark and various other AI talks and books. Despite the fact that the project can't run without the old entities package that they deleted, I thought maybe someone somewhere will find some inspiration from my approach to ECS-based AI.


r/gameai • • Oct 09 '15

Free 12-week course on AI in Games starts 15th Oct

Thumbnail
courses.nucl.ai
31 Upvotes

r/gameai • • Jul 13 '17

"Game AI Pro 2" is Now Free

30 Upvotes

(It wouldn't let me submit as a link since it has been submitted before.)

http://www.gameaipro.com/


r/gameai • • Aug 26 '21

I have started archiving Nucl.ai 2015 and other AI resources

29 Upvotes

I am trying to archive AI related videos and articles so that they are not lost to time. I was devastated when Alex shutdown aigamedev and nucl.ai, which were fantastic resources for anyone interested in AI game development, and I feel it is important to save these resources for posterity. I will also be archiving other resources that may still be available in case they disappear in the future.

I am uploading what I have to YT, the first of which is the Nucl.ai 2015 conference. You can find the playlist here.

These videos are not monetized and solely for educational purposes.


r/gameai • • Nov 08 '18

AI doing what creators specify, not what they mean:

Thumbnail
twitter.com
29 Upvotes

r/gameai • • Jun 13 '15

GDC AI Summit video: JPS+: Over 100x Faster than A* (Steve Rabin)

Thumbnail
gdcvault.com
28 Upvotes

r/gameai • • Dec 03 '13

Your favourite Game AI article?

28 Upvotes

For example, This article taken from this recent post


r/gameai • • Apr 09 '26

[Meta] What is this subreddit even about anymore?

27 Upvotes

My understanding of this subreddit is that "game AI" refers to techniques that can be used to direct an NPC to behave in a certain way. For example, topics like finite state machines or behavior trees would fit well here.

However, I've been seeing a lot of posts from this subreddit that focus on AI as in LLMs. This doesn't seem to fit what I would describe as "game AI" - yet, the posts seem to stay up.

The posting guidelines seem to refer to LLM-style AI - but it's not clear whether LLM-style AI as a whole is allowed or not.

Topics relating to the development and use of game AI. Note that this is often not real artificial intelligence but rather what has been referred to for decades as "AI" in games. Usually, that is variations on some form of artificial behavior.

As such, this isn't necessarily the best place for posts about real AI that happens to be used in a game company (e.g. data-mining user data for monetization). Please keep it to things that directly affect the gameplay -- via NPC behavior, pacing, procedural content, etc.

This, combined with a lack of rules to select when reporting a post, leaves me to wonder what this subreddit is even meant to be about. In particular, it leaves me wondering whether the moderators consider LLM-style AI to be relevant.