Sh*t Happens, a card game from Goliath GamesGames Adults Play line, inspired a new TBS series called Misery Index. The stars of truTV’s Impractical Jokers will lead the show.

The game’s collection was created by former SNL writer Andy Breckman in 2016. In the game, players guess the “Misery Index” score of terrible situations.

For the new show, two teams of three (each made up of two Impractical Jokers stars and another individual) will compete to determine the Misery Index rating of miserable real-life events, based on the Shit Happens cards.

TBS ordered 10 episodes of the half-hour comedy.