Use genetic algorithms to improve enemy AI over time in video games

I’ve played my fair share of video games in the past twenty years, and ever since I played for the first time, I was fascinated with how someone could make these games work. More often than not, a special mechanic in a game left me wondering how the programmers could implement a certain feature. However, i often notice patterns in enemy behavior. Therefore, it is way too easy for the player to predict how enemies might react to certain situations. While this might have to do with limited AI design, I recently had the idea to experiment with genetic algorithms to make enemies adopt to the player’s style over time to make it more difficult for the player to achieve his goals. My theory is that this way, enemies will adapt to the player over time, and this, in turn, forces the player to try different strategies to succeed. This article summarizes my experiments and discusses the results and how they could be applied in game development.

Continue reading Use genetic algorithms to improve enemy AI over time in video games

Play hidden arcade games in emacs

Who doesn’t like retro gaming? No honestly, who doesn’t? This might not be the right article for you if you don’t like them, but there is a way to play nice hidden mini games, that come with the terminal text-editor emacs, for everyone else. This collection of games includes remakes of classic games as well as new and unique games. In this short article I’m going to show you how to play them!

Figure 1: Solitair in emacs

Continue reading Play hidden arcade games in emacs