proper win condition function && implement fitness punish