What design patterns / architectures are used for achievements processed in online games

One thing that has always aroused my curiosity is how online games can process truly new or unique achievements in real time and instantly give you an icon.

Simple things like getting 10 kills or completing a level seem easy enough, but things like killing someone by shooting every bullet in a clip for one person while jumping - or something like this seems pretty crazy for programming.

They just have a large processor that reads real-time logs of all activity and constantly calculates each achievement - or is it an achievement programmed in the game itself, in the game’s logic itself? It seems that the latter will not take place, since new achievements for games arise quite often.

Is there an established pattern or architecture for this kind of thing?

+4
source share

Source: https://habr.com/ru/post/1610311/


All Articles