AI Board Project

In this project programmed in SFML , we can find that there is a graphic window with Imgui in which we show two maps, one map is the original one in which we can see the ghosts in a maze of pacman. When we select a ghost we can edit it to change its properties like moving it randomly or like pacman. We also have some options to change all the minions in general and have an equal movement all, as well as edit the board and save it.

Patterns
Three distinct patterns can be found in the movements:

  • A random movement across the map

  • A movement that goes wherever you press by means of the path to

  • A movement that always goes east first as long as it can

Board

These are the options we have on the board

  • We can load a board and once loaded we can modify the squares to create a new map.

  • The board is made by Grid

  • We can save the modified board

Ghosts

The ghosts have a skin for each one depending on the pattern they are using at that moment.

Loop Game

We can change the game loop as well as the FPS to be different in this case we have the global, the AI and the painting and see the performance of the application.