I am trying to remember the name of a card game
I think the game is Trex, also known as Trix, Tricks, or Ticks.

The game is played by four players and consists of four cycles of five games each. During each cycle, a new player is the dealer. The dealer chooses in which order the five contracts are played (one in each game).

The Wikipedia article notes that it's similar to Barbu.