Logic for determining game over. Needs testing with images and gameplay