text: The film is based on a 1970 novel of the same name by American author James Dickey , who has a small role in the film as a sheriff . The screenplay was written by Dickey and an uncredited Boorman .
simplified: It was based on a book written in 1970 by James Dickey , who also wrote the screenplay and had a small part in the movie .