Page 3 of 3

Re: 4D Prince of Persia Question

Posted: April 11th, 2015, 11:29 am
by David
I made a program in Python. I attached it to this post.
It takes a level (PLV) file, and makes a map if possible, or tells that the level has broken room links.
You can find PLV files in the "levels" folder of apoplexy.

It checks for your properties 1), 2) and 3).
Property 0) is true if both 1) and 3) are true, so I don't check that.
Instead of your OL and NL, I use a queue.
Instead of your T, I use two mappings (associative arrays): one from room numbers to positions, and one from positions to room numbers.
The latter contains 0 for a position if it is known to be empty, this is for checking property 3).

Re: 4D Prince of Persia Question

Posted: April 11th, 2015, 4:55 pm
by Zaknafein
I don't understand Python, but i'll try to test that function with some PoP level :)

Re: 4D Prince of Persia Question

Posted: October 14th, 2019, 12:47 am
by Emiliano

Have anyone explored totally the corrupted levels?

Re: 4D Prince of Persia Question

Posted: October 14th, 2019, 1:07 am
by 4DPlayer
Emiliano Fierro wrote: October 14th, 2019, 12:47 am
Have anyone explored totally the corrupted levels?
I have, but I didn’t finish the whole game when exploring them.

Re: 4D Prince of Persia Question

Posted: March 28th, 2020, 3:20 pm
by yourantumayel69
Emiliano Fierro wrote: October 14th, 2019, 12:47 am
Have anyone explored totally the corrupted levels?
I have it, but I finished all levels.