Alden Ehrenreich as Han Solo in the upcoming movie “Solo: A Star Wars Story.” (Courtesy Lucasfilm Ltd.)

In a lawsuit over rights to a card game with a pivotal role in the “Star Wars” saga, Lucasfilm Ltd. won an early battle against app maker Ren Ventures Ltd. Tuesday.

A federal judge in San Francisco declined to dismiss Lucasfilm's claims based on Ren Ventures' use of various trademarks, primarily centered on the game “Sabacc.”

In the “Star Wars” universe, Han Solo won the iconic Millennium Falcon spaceship by beating Lando Calrissian in a game of Sabacc, a fact first noted in a draft of the screenplay for “Star Wars V: The Empire Strikes Back” and then the novelization of the 1980 film. A trilogy of novels about Calrissian published in 1983 included an explanation of the blackjack-line game where players seek a hand as close as possible to positive or negative 23 without going over.