Exemple #1
0
        private void LocalState(string pid, int round_id)
        {
            string gameState = "";
            PCS    pcs       = null;

            pid_pcs_Dict.TryGetValue(pid, out pcs);
            if (pcs != null)
            {
                gameState = pcs.LocalState(pid, round_id);
            }

            String filename = "LocalState-" + pid + "-" + round_id + ".txt";

            File.WriteAllText(@"..\\..\\AdditionalFiles\\" + filename, gameState);
        }