The HBO comedy, Silicon Valley is based on co-creator Mike Judge's actual experiences in the Bay Area tech industry. The show is uproariously funny, reaching the best-of-comedy critic lists even before its second season. While most IT leaders have praised the accuracy of the show, Elon Musk claimed that it barely approximated the true identity of Silicon Valley.

RELATED: Silicon Valley: Ranking Pied Piper's Best Employees (& Bosses)

However, Musk soon reverted his opinion, later claiming that the show gets good after a few episodes. Considering the general cut-throat nature prevalent in the real Silicon Valley, and its almost-perfect reflection in the show — one might wonder how the characters would handle life in Westeros. To that end, ten of the main characters have been paired with the Game of Thrones House that best describes their own personality.

Monica Hall - House Martell

Martell is the only Great House in Westeros run entirely by women (at least until Ellaria Sand and her sisters were killed.) Monica, being CFO of Pied Piper, is surrounded by men, none of whom have any clue how to run a large company. She helps Richard with the acquisition of Hooli, and stays with the team even after their stocks fail to increase at the predicted rate.

Monica exudes a confidence that is not forceful, like Laurie Bream's, but she proves that aggressive tactics are not always necessary to win the day.

Richard Hendricks - House Baratheon

Richard Hendricks is a coding virtuoso, the likes of which Silicon Valley has rarely seen. As a consequence, he is forced to choose between running his own dream or selling it off to one of a considerable number of interested buyers and retiring early. Given his Baratheon personality, Richard chooses to tough it out on his own, taking incredibly dangerous risks along the way just to see Pied Piper grow.

Like Stannis, Richard is ready to cut out those closest to him in order to satiate his ambitions — over the course of the series he has renounced ties with pretty much every one, including his best friend, Jared.

Dinesh Chugtai - House Greyjoy

As a coder, Dinesh exhibits traits of insecurity and shyness, which lead him to make some really stupid decisions. The Greyjoys, Balon, to be specific, has been known to react rashly at any perceived slight towards him.

Dinesh has a similarly unstable ego, for instance, when he ends up spending a vast amount of money to upgrade his Tesla (by bribing an employee to purchase one, so he could use those points to get shinier hubcaps and one-up another equally random employee.) He is often found at his wits' end when it comes to Gilfoyle, as he almost always falls for the latter's pranks.

Gavin Belson - House Lannister

The Lannisters were so rich, and so capable of conserving their money, that a popular joke in the books is that he probably used to "sh*t gold". Only Gavin Belson could boast of such wealth, although like Tywin, he was prone to boast about a lot more.

RELATED: 8 Things Silicon Valley Does Better Than The Big Bang Theory

The thing about Belson is not that he didn't want to help improve society, but that he didn't "want to live in a world where someone else makes the world a better place better than" he wanted to. He is certainly an intelligent character, able to manipulate people without effort, but so was Cersei: and look where that got her.

Bertram Gilfoyle - House Tyrell

One character who loves to keep his private life a total mystery is Bertram Gilfoyle. He has a penchant for making people look like idiots, with his prime victim being Dinesh. Like Lady Olenna, Gilfoyle is a genius at creating cunning, elaborate ploys to trick others, such as when he created a Gilfoyle AI to chat with Dinesh online (so he wouldn't have to.)

His Tyrell nature doesn't stop there; in fact, on several occasions he has proudly announced that he was the mastermind behind the prank, as Olenna does right before she commits suicide.

Peter Gregory - House Stark

Peter Gregory is one of the rare dotcom billionaires, largely because he seems to actually care about people not as rich as he is. As a Stark, he has a highly developed sense of perception, being able to visualize relationships between concepts that a lesser mind would falter at.

For instance, he figured out a way to protect one of his subsidiary companies by apprehending the effects of a mass cicada infestation on the price of sesame seeds worldwide. Peter's tactical mind is most similar to Arya's, considering her ability to murder a hall full of people without anybody noticing.

Jìan-Yáng - House Bolton

The Boltons are known for their utter disregard for other people (or human life in general.) This is why Jìan-Yáng is classified under this House. Not only does he refuse to follow's Erlich's basic house rules, like when he shamelessly pours liquid in a solid waste bin, but he also has no empathy for anyone else.

RELATED: Silicon Valley: D&D Moral Alignments Of The Main Characters

This is shown when he "inherits" Erlich's incubator, ejecting Richard, Gilfoyle, Dinesh and Jared without even a warning (they discovered their stuff scattered on the lawn and the locks changed.) Jìan-Yáng doesn't follow any code of honor, either, seeing as he simply stole Pied Piper's code and tried to rework it back home in China.

Erlich Bachman - House Frey

Erlich Bachman is one of the funniest characters on the show, but the humor derived from his fluctuating temperament is only enjoyed by viewers. The other characters, whose lives are directly impacted by his inscrutable shenanigans, are usually annoyed at best, and disturbed at worst.

Erlich and Walder Frey might as well be spiritual twins, given their identical propensities for making lives miserable (and getting off on it.) However, Erlich does redeem himself in very rare circumstances, like when he gets back his seat on the board after proving that he is essential to the team.

Jared Dunn - House Arryn

House Arryn has made its name as the most welcoming and cooperative families in Westeros. There is no better example of a more helpful character in the show than Jared Dunn. Like Jon Arryn, who lost his life because he had the honor and boldness to threaten the Lannisters, Jared has sacrificed nearly everything for Richard, including his home (he lives in the garage with a bunch of rats.)

RELATED: 5 Period Drama Gemini Will Love (& 5 They Will Hate)

A curious Arryn specialty is their association with the most powerful House, the Targaryens, with three bonds created through marriage. Jared has been shown to follow auras of power, considering that he left his high position at Hooli to be by Richard's side.

Laurie Bream - House Targaryen

Laurie Bream is categorically a Targaryen — she knows exactly what she wants and how to get it, having previously calculated all possible outcomes for all possible scenarios in her uncannily logical mind. She may not have the "inbred madness" that is typical of Targaryen blood, but she certainly has their appetite for power.

Laurie has the ability to extend herself beyond the capacities of a normal human body, as Danaerys can: she doesn't even let situations like childbirth get in the way of her profession. Laurie never fights a losing battle, either; when her Chinese deal falls through, she has the grace to exit swiftly.

NEXT: 10 Post-2000 TV Shows With Good P.O.C. Representation