Zynga (ZNGA) - Get Report shares climbed 2% to $5.99 Tuesday after an analyst at Stephens named the electronic gaming company the "best idea in video games."

Analyst Jeff Cohen said in a note to investors that he changed his best idea in video games to Zynga from Electronic Arts (EA) - Get Report , noting that the San Francisco-based Zynga is well-positioned for the next six to 18 months, which Cohen believes will be a period of consolidation in the mobile gaming market.

Cohen said Zynga has a proven ability to successfully execute M&A. He believes the potential for deals, along with its current portfolio, creates a "very compelling risk/reward." Cohen kept an overweight rating and $8.25 price target on Zynga shares.

Zynga's games are played on mobile platforms, such as Apple iOS and Google's Android operating systems, and on social networking sites, such as Facebook.

The company's franchises include "Words With Friends," "CSR Racing," and "Empires & Puzzles."