This is a version of AmongUs created using OpenGL.
sudo apt - get update
sudo apt - get install libglu1 - mesa - dev freeglut3 - dev mesa - common - dev
mkdir build
cd build
cmake ..
make
./Hello-World
- You play as the green-colored character. Avoid the red-colored imposter, reach and touch the imposter-colored button to eliminate the imposter, and navigate through the maze to exit.
- The imposter uses the Bellman-Ford shortest path algorithm to move towards you.
- Imposter Button: If you touch the imposter-colored button, the imposter dies. If the imposter touches you before you touch the button, you lose the game.
- Spawn Button: Touching this button spawns 2 coins and 2 bombs.
- Collect a Coin: +10 points
- Touch a Bomb: -10 points
- After touching the two buttons, a part of the maze breaks open, providing an exit.
- Exit the Maze: Upon exiting, you win the game.
- Timer: Complete the game before the timer runs out to avoid losing.
- W: Move character up
- A: Move character left
- S: Move character down
- D: Move character right
- Q: Quit the game