Git Product home page Git Product logo

hello-manchego's Introduction

hello-manchego

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.

Getting Started

Prerequisites

To play Hello Manchego, you'll need:

  • .NET Core SDK installed on your computer

Installation

  1. Clone this repository to your local machine:
git clone https://github.com/nicole440/hello-manchego.git
  1. Navigate to the project directory:
cd hello-manchego
  1. Build the project:
dotnet build
  1. Run the game:
dotnet run

Gameplay

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:

  1. Launch the game by running the dotnet run command.
  2. You will be asked if you're ready to play. Respond with 'Y' for yes or 'N' for no.
  3. If you're ready to play, the first question will be displayed, and you will be prompted to answer it.
  4. 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).
  5. Your answer will be checked against the correct answer, and you will earn 10 points for a correct answer.
  6. The next question will be presented, and the game continues until you decide to exit.

Questions and Answers

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:

  1. Open the questions.txt file.
  2. Add a new line with the format: Question:Answer
  3. Save the file.
  4. Restart the game to see your new questions in action.

License

This project is licensed under the MIT License - see the LICENSE file for details.

hello-manchego's People

Contributors

nicole440 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.