Beispiel #1
0
        public static void startPlay()
        {
            Lists.playDescription = "--------------------------------------------------------------------------------------\n\n";
            frmBaseballSimulator.addPlayDescription();
            Lists.playDescription = "";

            if (currentBatter == null)
            {
                setCurrentBatter();
            }

            //=========       T H I S  C O D E  I S  F O R  T E S T I N G  O N L Y         ============//

            //Lists.playDescription = "";
            //Lists.playDescription += "OBC: " + onBaseList.Count.ToString() + "\n\n";
            //frmBaseballSimulator.addPlayDescription();

            //========================================================================================//

            noBasesForced();
            determineForcedBases(Bases.ElementAt(0));

            Lists.DoWorkSon(Lists.firstPropValue);
        }