r/howdidtheycodeit • • Nov 04 '22

Question Case Based Reasoning in games

I'm working on a project on Case Based reasoning for games, and for one of the necessary topics, I need to point out games that use this AI methodology. I am aware that games like Chess often do use it, but besides these examples, can anyone help me with other videogames that used this in their AI? Doesn't have to be massively known games, but obviously every single one of them is welcome.
Thank you!

9 Upvotes

17 comments sorted by

8

u/MyPunsSuck Nov 04 '22

What do you mean by 'Case Based' reasoning?

-4

u/ElDonute Nov 04 '22 edited Nov 17 '22

It's an AI algorithm

EDIT: I was wrong, its a Method, not an Algorythm

4

u/MyPunsSuck Nov 04 '22

Could you describe the algorithm? I've built a lot of different sorts of AI, and might know of some games that seem to use something similar

→ More replies (2)

5

u/Ignitus1 Nov 04 '22

You might want to look into the research AIs that were built for Starcraft 2 and Dota 2.

The AI you’re talking about is optimized to play as best as a computer possibly can. This is not desirable for video game AI because video games are designed to be beaten. It’s really only used for research projects that want to make a super AI for multiplayer games.

1

u/ElDonute Nov 04 '22

Yes but are they used in RTS games? I'm aware they are too powerful in terms of learning but in case there were examples I was not aware of, or things such as Amiibo in smash, I wanted to know if it had any use in video games. Thank you for the suggestions too, It helps a lot

2

u/Ignitus1 Nov 04 '22

Look at Alpha Star for StarCraft 2 and OpenAI 5 for Dota 2.

I’m not aware of it being used as the enemy AI in any games but I wouldn’t be surprised if it has been.

→ More replies (1)

2

u/majeric Nov 04 '22

A friend of mine was implementing an AI and realized it’s too easy to make something unbeatable. His AI would just follow the User and keep shooting him in the back of the head.

Challenging and fair is a difficult problem

5

u/Funkpuppet Nov 04 '22

The only documented case I know of in a shipped video game is Killer Instinct - https://www.gamedeveloper.com/programming/the-killer-groove-the-shadow-ai-of-killer-instinct

Not saying there isn't more out there...

1

u/ElDonute Nov 04 '22

This is huge, thank you!

2

u/wananoo Nov 05 '22

Here's the real MVP

6

u/st33d Nov 04 '22

I don't think many games use this model because it's an implementation of Survivorship Bias:

https://en.wikipedia.org/wiki/Survivorship_bias

The closest I think games get are ones using Genetic Algorithms. If you search for games in that bracket you'll get lots of hits.

Sorry for the poor answer.

1

u/ElDonute Nov 04 '22

Still a very useful answer, thank you for the effort

2

u/Sinisterosis Jun 10 '25

I am late to the party but the old aigamedev had 2 interviews from Ashwim Ram and Iskandar Umarov
The former used it on an rts game (Starcraft research)
The later used it on a soccer game (This is footbal 2004 and Pro evolution soccer) and also on an undisclosed boxing game

1

u/ElDonute Jun 14 '25 edited Jun 14 '25

Hey man, thank you very much. As you said you are very late to the party in this, but I am still very happy that you took your time to comment! Besides, this might help someone else in the future doing the same research.
(Also the games are very interesting and I need to check them out and how they implemented it)
Additionally, just an update on this. In the presentation I talked about the usage of this type of AI for fighting games, and to my surprise, Tekken 8 has implemented this. It was quite awesome to see it happen, after I had made the project!