RavenGame

Mini game created in C++

During the AI class, we had to create a top-down game where the player can fight bots. The fighters can pick up guns once they spawn, heal with medikits, and shoot each other. There are different kinds of guns, such as shotguns and grenade launchers.

RavenGame Screenshot

Moreover, one bot had to learn how to shoot from scratch. We implemented this by gathering data from the player's behaviour. The game generates an XML file that contains information such as the player's position, where they are aiming, and the enemy's positions. Once the learning bot spawns, it uses the information from the XML file to fight.

We also added fuzzy logic so the bots can miss shots sometimes. They also know when they should continue fighting and when they must retreat to heal.

C++ Logo
GitHub Logo