If txt is exactly the same(i made no changes to it and the submit button was hited), then add the appropriate counter to 1
otherwise
it txt has been changed by adding a new game insert into database the new row.
if txt has new games added and changes have been made to gamenames or descriptions or both then all that changes should reflect to the database and the appropriate gamecounter should be increased.