Kim Jong Un may be a dictator with a nuclear arsenal, but when he’s not threatening to nuke the US, he behaves more like a child playing with matches.

Kim, who is 33, 34 or 35 years old, depending on which state propaganda you believe, inherited North Korea from his father, Kim Jong Il, in 2011 and solidified his power with a bloodlust that would frighten King Joffrey on “Game of Thrones” — including blowing up his uncle with a cannon.

But such ruthless acts are contrasted by a personal life in which Kim has been known to pal around with former NBA star Dennis Rodman as he guzzles pricey cognac with his harem of “Pleasure Squad” women.

The dictator has even forced his weirdness onto his people, making children study history books that claim he could drive at age 3 and race yachts at age 9, and forcing men to wear one of only 15 “state-approved” haircuts.

Of course, Kim’s own gravity-defying ’do is not among them, leaving the young head of state to be the only one with his signature look.

Kim was the youngest of late tyrant Kim Jong Il’s three sons. He took over after his heir-apparent half-brother, Kim Jong Nam, fell out of favor with their dad. His other brother, Kim Jong Chul, was considered too “effeminate” to rule.

To make himself look more like a leader, Kim Jong Un is rumored to have undergone plastic surgery to help him resemble his grandfather, Kim Il Sung, founder of the Democratic People’s Republic of Korea.

Kim Jong Un soon showed he planned to rule exclusively by fear, as he launched a campaign of killing his perceived political enemies.

In 2013, Kim blasted his uncle Jang Song Thaek to bits with anti-aircraft cannons after accusing him of sedition, according to South Korea’s National Intelligence Service.

“Kim Jong Un ended up killing his uncle, who even Kim Jong Il could not kill,” one defector, Lee Young Guk, told CNN a year later.

Jang was considered Kim’s guardian and for years had helped the young autocrat cement his power following the death of his dad.

But Jang installed his own loyalists in key government positions, angering Kim, who feared a coup was brewing.

So the despot assembled two of Jang’s right-hand men and forced his uncle to watch as they were shelled with anti-aircraft guns.

Jang then faced the same fate.

Kim has also publicly executed 140 of his own military leaders and other top government officials since 2014, according to a report from the South Korean Institute for National Security Strategy.

All told, he has ordered the public killing of at least 340 people, the report found.

The killings include officials whom Kim summarily executed after claiming they did not mourn his father’s death enough.

Korea watchers suspect Kim was also behind the 2016 assassination of half-brother Kim Jong Nam, the globe-trotting black sheep who died after two women smeared his face with a nerve agent in a Malaysian airport.

North Korea has denied any role, but the Malaysian government has accused the hermit kingdom of plotting the hit.

But while his executions could have been lifted from any despot’s playbook, Kim brings weirdness to new levels with an array of unique obsessions.

One fixation led to a cyberattack on the US after he became infuriated by the 2014 Seth Rogen comedy “The Interview,” in which Rogen and James Franco play a TV producer and host picked by the CIA to assassinate Kim.

The touchy totalitarian had his forces hack the movie’s distributor, Sony Pictures, and leak embarrassing information.

But Kim’s not-so-sneaky tech nerds left their fingerprints all over the hack job, and the FBI called the breach a blatant attempt to “suppress the right of American citizens to express themselves.”

Kim is also reportedly obsessed with basketball, having played hoops video games at the Swiss boarding school he attended as a teen and developing a special affinity for the Chicago Bulls.

Kim has even forged a bizarre friendship with Dennis Rodman, the flamboyant former forward for the team.

The retired NBA star has traveled several times to North Korea, and even serenaded the leader with an off-key rendition of the first verse of “Happy Birthday to You” in 2014 before playing an exhibition game in Pyongyang.

Meanwhile, the baby-faced man-child so badly needs his ego stroked that he keeps a harem of fawning girls called the “Pleasure Squad” to entertain him and his cronies.

Like his father and grandfather before him, he reportedly stocks the flesh retinue with girls as young as 13, plucked from school and forced to endure a battery of tests to prove they are virgins.

He squandered $3.5 million on lingerie and costumes for the women in 2016 alone.

Given his obsessive tastes and maniacal sense of entitlement, it should be no surprise that the doughy despot drops huge amounts of cash on his own creature comforts — even while the United Nations has found that 41 percent of his citizens are undernourished.

In 2016 alone, Kim splurged $1 million on imported booze, $86,000 on Swiss cheese and $74,266 on Swiss watches — two affectations he picked up while at the Swiss International School of Berne.

Switzerland cut him off in July of that year in compliance with UN sanctions.

Meantime, 71 percent of North Koreans relied on government food handouts amounting to just 10 ounces of food a day, the UN report found.

Although children are taught tall tales of Kim’s childhood feats, he actually spent much of his youth away at the tony school in Berne, where he was a typical millennial obsessed with video games.

‘The whole world for him was just basketball all the time.’ - Joao Micaelo, former classmate

“He had basketball games on his PlayStation. The whole world for him was just basketball all the time,” former classmate Joao Micaelo told CNN in 2010.

The teenage future tyrant attended the school under the name “Pak Un,” claiming he was the son of a Korean diplomat even as he paraded around in an expansive collection of Nikes that no low-level bureaucrat’s family could afford.

He played hooky from the $25,000-a-year school a total of 180 days in his two years there, according to reports.

The last time Kim intervened in a food crisis, his soldiers ended up with diarrhea.

After finding out in 2016 that his northern border guards were malnourished, Kim ordered “improved” dietary options “so that they would not envy a Chinese person,” according to United Press International.

The move backfired, and dozens of soldiers got the squirts from “smelly” Japanese sandfish and soup stock that was full of sand.

The last time Kim intervened in a food crisis, his soldiers ended up with diarrhea.

Soldiers he doesn’t publicly execute or make gravely ill are conscripted to build vanity public-works projects for the boy-king, such as the $35.3 million Masikryong Ski Resort that he hoped would become an international tourist destination.

Kim whipped his army into constructing the resort in just 10 months despite the Swiss refusing to sell him ski lifts, a slight which the state-controlled media called a “serious human-rights abuse.”

He staffs the resort with civilian work gangs, NBC reported in January .

He also forced North Koreans to etch a 500-yard-long propaganda message into a mountain.

“Long Live General Kim Jong Un, the Shining Sun!” reads the message in Ryanggang Province that is visible from space.

Despite everything, Kim managed to win his last election with 100 percent of the vote.

The supreme leader ran for a local seat in North Korea’s legislature in 2014 and not a soul voted against him.

Of course, Kim’s name was the only one on the ballot.