Inspiration
Creating one of the simplest types of games, a random number guessing game, to be run entirely in command line, and then challenging myself by creating different levels of difficulty.
What it does
A simple command line game for guessing numbers. Users can choose between guessing a number between 1 and 10, 1 and 100, 1 and 1000, or a random 9 digit number. After selecting your level, you can start guessing. The game keeps track of the number of guesses you make, and gives feedback for each incorrect guess(Higher or Lower). After you correctly guess the number, the game thanks you for guessing, tells you the correct number, and tells you the number of guesses you made.
How we built it
*wrote batch code in notepad *used google to learn how to write programs that are run in command prompt *lots of trial and error attempting to make a random 9 digit number
Challenges we ran into
*how to create a game that can be played entirely in the command line *learn how to code in batch *creating a random 9 digit number in batch(%RANDOM% only creates a, at max, 5 digit number)
Accomplishments that we're proud of
*creating a game *learning basics of batch *learning how to create a game that can be run entirely in the command line *creating a game with multiple levels of difficulty that the user can choose from *creating a random 9 digit number
What we learned
*create a command line application using batch in notepad *how to change the color of cmd in a command line application *basics of batch
Built With
- batch
- cmd
- notepad
Log in or sign up for Devpost to join the conversation.