Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

Number Guessing Game

A C# Windows Forms application where users try to guess a randomly generated number between 1 and 100. The program provides feedback on whether the guess is too high, too low, or correct. When the correct number is guessed, a new number is generated automatically.

Features

  • Random Number Generation: Generates a new random number between 1 and 100 when the application starts or when the correct number is guessed.
  • User Input: Allows users to input their guesses through a text box.
  • Feedback:
    • Correct Guess: Displays a congratulatory message and generates a new number.
    • Too High or Too Low: Informs the user whether their guess was too high or too low.
  • Error Handling: Displays an error message for invalid or out-of-range inputs.
  • User-Friendly Interface:
    • Buttons for submitting guesses and exiting the application.
    • Clear result display after each guess.

Technologies

  • C#: Core programming language.
  • Windows Forms: Used to build the graphical user interface.
  • .NET Framework: Platform used to develop and run the application.

How to Run

  1. Open the solution file (randomNumGuess.sln) in Visual Studio.
  2. Build and run the project.

About This Project

This game was developed as part of a Chapter 5 assignment for my programming class. The folder name Drawdy_chapter5_10 reflects the required naming convention for class submissions.