Cave Escape


About

Cave Escape is a game created for a school project under the theme "The Sound of a Metronome." It's a turn-based adventure where players navigate a cave. The metronome's rhythm dictates turns: left for the player, right for enemies.

Project Info

  • Role: Game Programmer
  • Team Size: Only me :)
  • Project Duration: 1,5 Weeks
  • Engine: Unity C#

My contributions

Pathfinding


When creating this project I thought that it would be a fun challenge to create my own pathfinding alogrithm based on the breadth-first search (BFS) algorithm.

View script

Room system


When developing the pathfinding algorithm, I observed significant lag when enemies attempted to locate the player from across the entire map. To address this issue, I decided to divide the map into rooms. Each enemy is only permitted to initiate pathfinding when the player enters the respective room.

View script
View project on GitHub