Devices (especially high-powered ones) do tend to get hot while running resource-intensive games and applications—this is normal. But if you are concerned about heat, there are several ways to reduce it:
1. Close other applications before starting the game
2. Play on a device with a charge level of at least 50%
3. Check for updates for your device

If heating affects its proper performance, we recommend that you contact the manufacturer for further recommendations.