The court was told that Bartlam had looked up websites including "How to get away with murder" and "People who get away with murder in shows". Violent video games and films, including 18-certificate films The Amityville Horror and Final Destination were also found at the house in Redhill, Nottingham. He had watched violent movies from the age of 8 and viewed the horror film Saw before the killing.
Bartlam thought he had deleted his story but police were able to retrieve it from the hard drive. The plot detailed the crimes of "Daniel Bartlam 1997-2047, the longest serving male character to be on the show". The character was involved in robbery, vandalism and grievous bodily harm.
"The only place he couldn't get away with his bad deeds was with his mother Jacqui," reads the story he wrote. "So one evening he made it look as though there was a break-in and murdered his mother with a hammer and then set her and the family home alight."
Prosecutors said the boundaries between real life and fiction for Bartlam, now aged 15, had become "tragically blurred".
In February, a jury unanimously found the teenager guilty of murder.
Sentencing him at Nottingham Crown Court yesterday, Justice Julian Flaux told the boy he must serve a minimum of 16 years for the "grotesque" and "senseless" killing. The judge said it seemed like the teenager wanted to "get away with the perfect murder".
Jacqui Bartlam's parents said: "We find it so hard to explain what we are going through. There are no winners here because not only have we lost Jacqui, we have lost Daniel, too. The most difficult part for us, and something that only Daniel can answer, is 'why?"'
- Independent