I love Pacman-like games, so this was definitely lots of fun. I think the game missed the theme a bit as you're forced to find 50 gems before you can escape, without any other options.
Tiny bug but if you win the game once, it doesn't reset, so you can just run straight back to the exit.
The pathfinding for the enemies is very funny though. I enjoyed using max brightness and watching them occasionally find a corner to get themselves stuck in, or wrap around a wall to get to me. Also, I found the light and dark mechanic to be a really cool idea!