Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

Computer_guessgame

A simple game where the user thinks of a number and the computer ties to guess it.

Features:

The user thinks of a number between 1 and x. The Computer guesses a number randomly between 1 and x. The user provides hints: ->h, if the guess is high ->l, if the guess is low ->c, if the guess is correct

Key learnings:

fstrings, How to randomly select an integer - using rand.randint(1,x)

Demo:

Steps:

Click on the link below and then click on remix this app Now, you will get into another environment where you can find files at the top left corner. Next, select guess.py file and then click on shell and run command "python3 guess.py" Link : https://replit.com/@anuprahamonu198/mad-libs-game

Example Output:

Screenshot 2025-03-19 165641

Technologies used: Python3

Feel free to make changes and improve this project...

Acknowledgments:

This project was inspired by Kyle Ying's tutorial. Thanks for the great learning resource!

About

A simple game where the user thinks of a number and the computer ties to guess it

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages