Game Logic - Added method to check if an image has been entered or selected before submitting the form. It also checks if the image is a valid filetype (JPG or PNG) and
presents users with a notice in each case.