Example #1
0
 public static void CursorTracking()
 {
     userX = Cursor.Position.X;
     userY = Cursor.Position.Y;
     //Console.WriteLine($"{userX},{userY}");
     HotColdDificulty.HotCold();
 }
Example #2
0
        public static void start()
        {
            DataCreateCheck.DataCheck();     //makes sure data.txt is there
            ScorePrint.lastScore();
            PlayerName.playerName();         //Gets and prints player name
            TimerAndDifficulty.Difficulty(); //decide how much time you get
            HotColdDificulty.Difficulty();   //decide how close you have to be
            Console.WriteLine("Hit enter when you are ready to start.");
            Console.ReadLine();
            RandomNumAndCursorTracking.randomNum(); //gets random number
            TimerAndDifficulty.timer();             //starts main part of game

            PrintScorePlayAgain.OutputScore();      //sends score to data.txt
            PrintScorePlayAgain.PlayAgain();        //asks player to play again
        }