It seems some fans of the fantasy series "Game of Thrones" can't wait for the next installment of the TV show, as a group of web developers have developed a way to predict which character will die next.

Using data from the television show, books and online encyclopaedias, a team at the Technical University of Munich have designed an algorithm to work out how likely each character is to perish.

Source: HBO

Jon Snow in "Game of Thrones"

Using factors such as the house a character belongs to, their age, whether they're single or married and the number of previously perished relatives, the algorithm predicts their chances of getting through to the series finale.

Currently, the young king Tommen Baratheon is most likely to be killed at 97 percent, followed by Stannis Baratheon (96 percent) and Daenerys Targaryen (95 percent).

"We wanted to tell some of the 'Game of Thrones' stories using data that we acquire on the web," the team's description reads on their website, A Song of Ice and Data.

"Many fans of the Ice and Fire books and of the HBO show have amassed a lot of data about the plot, the characters, the great houses of Westeros, the history and culture of the world of Ice and Fire, and in general anything you can think about this cultural phenomenon."

'Game of Thrones' began airing on HBO in 2011 and is based on a series of fantasy novels first published in 1996 and written by American author George R. R. Martin.