Questions tagged [number-guessing-game]
This tag is used when the program's purpose is to guess a number of your choosing or have you guess a number of the program's choosing.
196 questions
6 votes
2 answers
454 views
Number-guessing game on command line
I am just starting coding, and this is my attempt at the famous number-guessing game. Any and all feedback and criticism is greatly appreciated. ...
7 votes
3 answers
2k views
Simple casino game
This is my first program, ever. It comprises a choice of casino games: A number guessing game in which you guess a number 1 through ten. If you guess the correct number, you double the money you bet....
10 votes
5 answers
1k views
Guess-the-number game in Python
This is just something I did in my free time. How can I improve my code as a beginner? Is there an alternative to using isalpha() What are other efficient ways to ...
1 vote
1 answer
156 views
Guess the number game with an easy and hard mode
I have started learning to program in Python. I watched a YouTube course for beginners creating the well known "guess the number" game. I have attempted to write an improved version of the ...
7 votes
3 answers
863 views
Number Guessing Game in C++
I am very new to C++ and I've tried to write a simple number guessing game. I know it is a basic task but I'd really appreciate any feedback that could help me improve my writing. Thanks! ...
5 votes
2 answers
940 views
Identifying unnecessary attributes in a Python class?
I have commented out two attributes (in random_number_guesser.py) which I believe are unnecessary. Am I correct in assuming that, because the code runs correctly without their implementation, they ...
10 votes
2 answers
1k views
Number guessing game for x86
I'm new to assembly and I've just finished this guessing game that I wanted to make to improve my skills in this language. It runs in a Unix environment and does the following: generates a random ...
7 votes
3 answers
2k views