A Jeopardy-esque command line game where the only topic is cheese. I'm building this simple game to gain some hands-on practice while learning C#/.NET.
To play Hello Manchego, you'll need:
- .NET Core SDK installed on your computer
- Clone this repository to your local machine:
git clone https://github.com/nicole440/hello-manchego.git
- Navigate to the project directory:
cd hello-manchego
- Build the project:
dotnet build
- Run the game:
dotnet run
In Hello Manchego, you will be presented with questions. Your objective is to answer as many questions correctly as possible to earn points. Here's how the game works:
- Launch the game by running the dotnet run command.
- You will be asked if you're ready to play. Respond with 'Y' for yes or 'N' for no.
- If you're ready to play, the first question will be displayed, and you will be prompted to answer it.
- Enter your answer in the command line and press Enter (We'll give you the "What is..." text, so you only need to type your answer).
- Your answer will be checked against the correct answer, and you will earn 10 points for a correct answer.
- The next question will be presented, and the game continues until you decide to exit.
The questions and answers are stored in a file called questions.txt. Each line in this file contains a question and its corresponding answer, separated by a colon. You can add, modify, or remove questions in this file to customize your cheese trivia experience.
To add questions to the game:
- Open the questions.txt file.
- Add a new line with the format: Question:Answer
- Save the file.
- Restart the game to see your new questions in action.
This project is licensed under the MIT License - see the LICENSE file for details.