What will happen if someone games on the new macbook?

I have a macbook air and whenever i run minecraft it overheats, but the fan comes on. The new macbook has no fans and i was wondering what would happen if someone tried to game on it. Would it burn the cpu, turn off or would a warning pop up?

It would shut itself down if it became too hot like an iPad does.