A game developer backed by Saudi Arabia is buying California-based Scopely, which is behind popular games like Scrabble GO, Yahtzee With Buddies and Star Trek Fleet Command.