Basically, it picks a number say between 1 and 10, and you have to guess it.
I want to give the user 3 tries per guess with 5 guesses per round, and I want them to have 20 seconds per guess.
After they fail to get 3 guesses either by taking too long or using all their guesses, I want the game to end and to print a score. (in total seconds lasted)
I also want the game to get progressively harder (using a larger scale like 1-20, 1-30, etc.) and to give them either less guesses/less time to get it (randomly)).
I would like to have a countdown at the start that says "starting in 1... 2... 3... go!" to give them a chance to get ready, and also one between rounds.
I'm not sure how to go about this, so any help will be greatly appreciated!
#include <windows.h>
#include <iostream>
int main(void) {
std::cout<<"This program will waste 15 seconds of time.";
Sleep(15000);
std::cout<<std::endl<<"Thanks for letting us waste your time...";
std::cin.ignore();
}