This program is a top-down puzzle game where you play as a UFMG CS student, and Professor Douglas has given you the mission to retrieve the projector remote control in a room at the ICEX building. Your objective is to reach the control by cleverly dealing with obstacles within the limited number of moves available.
- The player cannot pass through the side walls and bookshelves in the level.
- Tables and boxes can be pushed as long as there is an empty space behind them in the direction of movement.
- Boxes will be destroyed if moved towards an occupied space, including ghosts. However, tables can occupy the same space as a ghost.
- The player can move over ghosts, but they consume twice as many movement points as a normal space, even when another object is moved while on top of them.
- To pass through spider webs, the hero needs to obtain the scissors, which allows them to cut through the webs.
To build program, use:
make
Warning: In order to compile, it is necessary to have the SFML library installed on Linux and to create a "./build/" directory. The command may vary depending on your Linux distribution. On Ubuntu, you can use the following command to install SFML: sudo apt-get install libsfml-dev.
To execute the program, use:
./PerdidosNoIcex.exe
To generate Documentation, use:
doxygen Doxyfile
Warning: It is necessary to have Doxygen installed to use this command, and please create a "./doc/" directory beforehand. The command may vary depending on your Linux distribution. On Ubuntu, you can use the following command to install Doxygen: sudo apt-get install doxygen
make clean