Question: I heard that [Prince of Persia: The sands of time movie](http://en.wikipedia.org/wiki/Prince_of_Persia%3a_The_Sands_of_Time_%28film%29) was based on the [Prince of Persia: The sands of time video game](http://en.wikipedia.org/wiki/Prince_of_Persia%3a_The_Sands_of_Time). However in the wiki article it is said:

> 
> Prince of Persia: The Sands of Time is a film loosely based on the game.
> 
> 
> 

I also found that the writers of the movie are Jordan Mechner, Boaz Yakin, Doug Miro. I am not aware of the story of the game. So is the story of the film not the same as that of the game? Also I could not see any attribute in the film to the game. So did the producers not buy the story legally from Ubisoft? What is the back story?

Answer: 
As I commented, the story of the film only loosely has ideas from the game like the setting and some characters.

Judging solely from my experience playing the game and the summary from [Wikipedia](http://en.wikipedia.org/wiki/Prince_of_Persia:_The_Sands_of_Time_(film)), there are many more differences than I realized.

To start, the prince is nameless in the game, and he is an actual prince, not an orphan brought into the king's court, nor does he have any siblings at all, nor does he have a princess selected out. In fact, the girl you meet in the game is but a lowly citizen that you meet during the adventure who in turn, helps you to complete the game.

The reason his father dies in the game is because, after raiding a city, they loot the Sands of Time containing the Dagger of Time. The kingdom is then betrayed by the Vizier. He tricks the prince into releasing the sands, killing almost everyone around the kingdom by turning them into fearsome sand beasts, including your father. The entire plot of the game revolves around collecting enough of the Sands of Time in order for the Prince to revert time back to the moment he released them, and to stop this action in order to save his kingdom.

Instead, the movie focuses on more of a plot of deception from within the kingdom. Dastan, who is essentially the Prince, is being betrayed by his Uncle Nizam for the throne. Nizam realizes that he can use the dagger to prevent the Prince from being the king of Persia.
As per your production rite question, the answer is yes they brought the rights , As per [Wiki statement](http://en.wikipedia.org/wiki/Prince_of_Persia:_The_Sands_of_Time_%28film%29)- 

> 
> In March 2004, the production company Jerry Bruckheimer Films sought
>  to acquire feature film rights to the 2003 video game Prince of
>  Persia: The Sands of Time with the film to be distributed by Walt
>  Disney Pictures.
> 
> 
> 

And giving attribute to game depends on the agreement terms and condition. And I think their is no need to give attribute if you brought the full rights.

The movie is just loosely based on the Prince of Persia: The Sands of Time and Elements from Prince of Persia: Warrior Within and Prince of Persia: The Two Thrones are also incorporated in it.

> 
> Mechner, in writing the script, re-conceived the storyline to shift
>  the perspective from the interactive one experienced by video gamers
>  to the non-interactive experience by film audiences. The screenwriter
>  left out elements of the Prince of Persia video games Warrior Within
>  and The Two Thrones and did not anticipate including these elements in
>  the film's possible sequels. [(source)](http://en.wikipedia.org/wiki/Prince_of_Persia:_The_Sands_of_Time_%28film%29)
> 
> 
> 

Rather then explaining all the differences, we can only say that its story retelling by just taking some of characters but with different origin stories and little different situation. They removed the context of sand storm and monster and just made the movie full of more human rather the sand monsters. Other major differences are the death of king in different way, completely different princess story (princess is a prisoner in the game), Vezir's have no relation to king in the game, an extra character brother of prince and different love story too. In the game prince doesn't trust the princess because of the wrong treatment to her by his own kingdom and she earned the trust later in the game.