Apply orientation for movement and maze generator