A game theoretical analysis of the Gettier cases