Skip to main content

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.

6 votes
2 answers
454 views

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. ...
Payton Newman's user avatar
4 votes
3 answers
162 views

I am learning Rust and would like a review to make sure I am following best Rust practices before continuing. The user enters a number between 1 and 100 up to 6 times to guess the randomly-generated ...
Hosch250's user avatar
7 votes
3 answers
2k views

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....
River Scheepens's user avatar
5 votes
3 answers
189 views

I am trying to relearn the C language and thought making small projects would be a good way to do it. The code I wrote works perfectly as intended. I am just here to see if there are any better ...
Sarthak Hingankar's user avatar
10 votes
5 answers
1k views

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 ...
Rollis's user avatar
  • 101
2 votes
2 answers
171 views

I am fairly new to programming, and I recently finished part of one of my projects, a guessing game. The part I completed was the game mode where the player guesses the computer's number. I'm quite ...
ADAM WELLER-FAHY's user avatar
1 vote
1 answer
157 views

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 ...
Enes's user avatar
  • 29
1 vote
3 answers
198 views

I'm making a random number guessing game in Python. Any suggestions? I'm going to add a restart button to it. ...
chateaukey's user avatar
7 votes
3 answers
872 views

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! ...
Gizem's user avatar
  • 105
3 votes
2 answers
142 views

I did the exercise of LearnCpp.com's Chapter 8 summary and quiz and I'm still learning… Question #3 Implement a game of hi-lo. First, your program should pick a random integer between 1 and 100. The ...
Maria David's user avatar
5 votes
2 answers
940 views

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 ...
dylanbobbyromero1's user avatar
6 votes
1 answer
165 views

Recently, I got into programming with Python as a fun little side hobby. After watching a bunch of YouTube tutorials (to learn about IDE's, variables, etc.), I finally got to the point where I was ...
dylanbobbyromero1's user avatar
10 votes
2 answers
1k views

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 ...
Abel Gérard's user avatar
4 votes
2 answers
755 views

I wrote an algorithm to solve the New York Times' Puzzle: Digits. You could play the game here. The rules of the game are as follow: You were given 6 numbers and you could use simple operations (plus, ...
user274177's user avatar

15 30 50 per page
1
2 3 4 5
14