Not necessarily. A good example is ROBLOX, where the PC, Dedicated Server, and Mobile versions all share the same C++ code, with the main difference being the compiler used. Therefore, if this game is developed in either Java or C++, it is possible to run it on mobile, though it would require some effort.