Correcting issues with placing mines and calculating winning games