added functionality for mine placement and detection, as well as the end game case for when the player hits the mine. It has not been tested yet