Ship sinking and end game functionality implemented