Your warranty should cover it.
It's common for laptops to start overheating after certain time. It could be the thermal paste that it's getting dry, dust that worsens cooling, etc.
Does is shut off always or only when you play games? If it's the latter, you only need to clean it inside or...