Skip to content

EchoSingh/Number_Guess

Repository files navigation

F# Number Guessing Game

This is a simple console-based number guessing game implemented in F#. It allows players to guess a randomly generated number within a specified range.

Console

Getting Started

To run the game, you'll need the .NET SDK installed on your machine.

  1. Clone this repository to your local machine:
git clone https://github.com/EchoSingh/Number_Guess.git
  1. Navigate to the project directory:
cd Number_Guess
  1. Compile and run the game:
dotnet run

Gameplay

The game will prompt you to guess the number between 1 and 100. You have a limited number of attempts to guess the correct number. After each guess, the game will inform you if your guess was too high, too low, or correct.

Customization

You can customize the number of attempts allowed by adjusting the attempts variable in the main function of Program.fs.

License

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

Releases

No releases published

Packages

No packages published

Languages