// This file is the first assignment
//Please fill the selection that are marked

// *************To DO***********************
// Write your name

#include <iostream> // Used for cin and cout
#include <stdlib.h>   // Used to generate random number using rand method
#include <string> // Used to be able to use string
#include <time.h>  // Used to reset the machine time to generate different random numbers
#include <random>  // Gives access to even better random number generators, if you want

using namespace std; // making life easier so that we do not need to use std::cin , std::cout, etc.


int main()
{
	//Below is a simple way to generate a random number.
	//Feel free to use a better method that gives less bias.
	/*Seed the random number generator*/
	srand(static_cast<int>(time(NULL)));

	int targetNumber = rand() % 100; // generates a random number from 0 to 99

	//***To Do****
	//Now increase targetNumber by 1 so that it ranges from 1 to 100

	cout << "Let's play a Number Guessing Game! What is your name ?" << endl;
	string name;
	cin >> name;
	cout << "Hello, " << name << "! Now let us play the game! " << endl;

	/********************************************************
	This is a Hi-Low game. A random number from 1 to 100 is generate.
	1. Ask the user to guess the number.
	2. If the user guess right, print bingo. The game is over.
	3. If the user's guess is too high or too low, the program informs the user of that fact and asks for another guess.
	4. This repeats until the user gets the number correct.
	**********************************************************/

	// *************To DO***********************





	/********* BONUS POINT*********
	 keep track of the first three numbers that user guessed and
	 print them out at the end
	 Hint: You can use an array to store these 3 numbers
	 ******************************/

	return 0;
}
