https://github.com/connerkt/highandlow
This is a game you can play to try to guess a random number determined.
https://github.com/connerkt/highandlow
Last synced: 6 days ago
JSON representation
This is a game you can play to try to guess a random number determined.
- Host: GitHub
- URL: https://github.com/connerkt/highandlow
- Owner: ConnerKT
- Created: 2023-01-22T20:26:07.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-01-30T16:13:46.000Z (over 3 years ago)
- Last Synced: 2025-02-23T02:31:34.159Z (over 1 year ago)
- Language: Python
- Size: 1000 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# HighandLow
This is a game you can play to try to guess a random number determined.
This code functions with print statements, if statements, and a for loop.
The game gives you 7 tries to guess a number from 1-100, if you input the correct number the game prints out the number of tries it took to achieve it.
This project I tested using imported functions, using random and time to make my code more unique.
I also put all of my code into its own function so the code could be reusable if needed.