Add function for gameover on hot or cold