 Casino Royale was previously produced as a 1954 television episode and a 1967 satirical film . Eon Productions gained the rights to Casino Royale in 1999 after Sony Pictures Entertainment exchanged them for Metro @-@ Goldwyn @-@ Mayer 's rights to Spider @-@ Man . In March 2004 , Neal Purvis and Robert Wade began writing a screenplay for Pierce Brosnan as Bond , aiming to bring back the flavour of Ian Fleming 's original Bond novels . Paul Haggis ' main contribution was to rewrite the climax of the film . He explained , " the draft that was there was very faithful to the book and there was a confession , so in the original draft the character confessed and killed herself . She then sent Bond to chase after the villains ; Bond chased the villains into the house . I don 't know why but I thought that Vesper had to be in the sinking house and Bond has to want to kill her and then try and save her . " 
