public bool[] NashValue() { bool[] options = new bool[2] { NashPrisioners.BestOption(), NashPrisioners.BestOption() }; return(options); }
public static bool BestOption() { NashPrisioners firstConfessing = new NashPrisioners(true, false); NashPrisioners firstNotConfessing = new NashPrisioners(false, false); if (firstConfessing.GetFirstWorstPenalty() < firstNotConfessing.GetFirstWorstPenalty()) { return(true); } else { return(false); } }
public string NashValueNums() { return(new NashPrisioners(NashPrisioners.BestOption(), NashPrisioners.BestOption()).GetStringPenalties()); }