Number Game

Number Game

C# program

DECEMBER 2023

Code in visual studioGameplay in visual studio

Programs used

Flowgorithm, Visual Studio

Project Description

This is the final project for my introduction to programming in C# class. It was a complementary I decided to take to see if I liked computer sciences. Turns out I do! I really like the puzzle aspect of it. Making a program is finding a solution to a problem. Although it can be frustrating when things don’t work, it’s also fun to come up with the logic and it’s always satisfying to see the end result when everything works.

The number game is very simple. The user must guess what the randomly generated number from 1-100 is. After each guess, the program says if it’s higher than the guess or lower than the guess. It also keeps track of the number of guesses.

Flow chart of the code done in FlowgorithmFlowgorithm test run

Process

We started out with the instructions and rules of the game. I first used Flowgorithm to figure out the logic that would make the program work. Once everything was good, I coded it into Visual Studio.
This didn’t take much time but it used everything we learned throughout the semester.
I had my family members test it and they enjoyed playing it.:)
Always makes me happy to see people have fun because of something I made.