Hey, thanks for your kind words!
If I recall correctly, I did try to make it learn to play with a neural network, but my results were very poor. I probably have not implemented it properly.
So the AI here is pretty much coded traditionally. And it's quite a simple one.
I read out some values out of the memory, like position of both players, where the other player is aiming, if the other player has a sword, if i need to run or defend. And then it changes the behaviour accordingly. Only limitation it has, its blind to the map, so i had to hardcode some spots where it needs to jump. So it works only on the first map.
AI is a broad term for multiple things. Best way to learn things is to do something that you have fun doing. I liked the game eggnogg, so I chose to do this AI as part of my university project.
If you want, you can grab the code from the link in the description and modify it to try and make it harder! It's written in C++. (Main script you'd want to modify is AI.cpp)
I was a noob back then, so I think the way I uploaded the code to Github does not actually allow forking or cloning, But you can just download it like a normal file. I might take another look at it the next days.