Zynga offered the Baltimore employees a chance to transfer to other positions in the company, Zynga COO David Ko wrote in the blog post announcing the moves. About half of the approximately 30 Baltimore employees decided to stay.

Zynga will also consolidate teams in offices located in McKinney, Texas, with its downtown Austin offices and will move them all to its Dallas and North Austin offices. In New York, Zynga is closing down its offices and moving the staff to its NYC mobile studio.

Related stories

These moves build on the company's plans to reduce its expenses as it struggles with the demands of Wall Street. Zynga laid off 5 percent of its workforce in October, shutting down its Boston office. It also said it was planning to close its U.K. and Japan studios.

Ko wrote that the changes will let Zynga put its resources into other efforts to make the company more profitable. This includes building on successful franchises like FarmVille and WordsWithFriends and developing new games.

"We still have a lot of work to do, but I'm confident that we're on the right path to deliver on the potential of Zynga," he wrote.