Ejemplo n.º 1
0
        private void EndSequence()
        {
            player.End = DateTime.Now;

            player.PlayerScore = Score;
            //player.PlayerScore = 6800;
            PlayerData data = new PlayerData(@"C:\Tetris\Tetris.txt");

            data.AddNewScore(player);
            data.WriteToFile();
            Console.Clear();
            userInteractor.PrintScores(data);
        }