It is the age of the mobile games . If you are working as a developer then you must know about in which languages the best mobile games are developed.
So let's start one by one.
1. PUBG - Player Unknown's BattleGround
Developed by - Tencent Gaming
Pubg is developed with the help of the Unreal Engine 4. Which uses the scripting language C++. C++ is the first choice for AAA games owing to its speed.
The backend of a game can be coded in python, javascript and php.
Since pubg is cross platform, the native versions have some native code such as Java and Objective C which is usually taken care of by the game engine.
2. COD - Call Of Duty
Infinity Ward, the creators of the game have used IW Engine to develop the game. The engine itself seems to be coded in C and C++ programming languages. If my brain is serving me right; I think C++ is one of the most popular programming languages used by game engine developers.
3. Free Fire
Free Fire is developed using Unity cross platform game engine and that uses C# . Used for developing real time animation and normal games the other programming languages used in development of the game are Java, C++ & python used for communicate with hardware system. Java & C++ code are helps to build game actions.
4. Minecraft
The original version of Minecraft was written using the Java programming language and the Lightweight Java Gaming Library (LWJGL)
Then Minecraft's Pocket Edition was launched which was written using the C++ programming language since Java was not supported by iOS . It was better than the original one that was developed in Java.