It's normal for devices to get warm while playing games. However, we can give you some tips on how to reduce the heating of the device:
1. If you have any other applications open, close them before starting the game.
2. Fully charge the device.
3. Check for updates for your device. Often, manufacturers release updates that improve the performance of a phone or tablet.