Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/echosingh/number_guess

A Simple Console Game
https://github.com/echosingh/number_guess

game-using-fsharp number-guessing-game

Last synced: 2 days ago
JSON representation

A Simple Console Game

Awesome Lists containing this project

README

        

# 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](https://github.com/EchoSingh/Number_Guess/blob/master/Screenshot%202024-05-25%20133913.png)
## Getting Started

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

1. Clone this repository to your local machine:

```bash
git clone https://github.com/EchoSingh/Number_Guess.git
```
2. Navigate to the project directory:
```bash
cd Number_Guess
```
3. Compile and run the game:
```bash
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.