Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pkx8326/simple_number_guessing_game_with_python
This repository contains a set of simple Python code for a simple number guessing game. The player guesses a number between 1 - 100 and the game tells the player if the number is too high or too low, until the player gets the number right. There are two levels for the game: easy and hard for 10 and 5 guesses, respectively.
https://github.com/pkx8326/simple_number_guessing_game_with_python
game number-guessing-game python python3 random randomization
Last synced: 1 day ago
JSON representation
This repository contains a set of simple Python code for a simple number guessing game. The player guesses a number between 1 - 100 and the game tells the player if the number is too high or too low, until the player gets the number right. There are two levels for the game: easy and hard for 10 and 5 guesses, respectively.
- Host: GitHub
- URL: https://github.com/pkx8326/simple_number_guessing_game_with_python
- Owner: pkx8326
- Created: 2022-02-20T07:59:22.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-02-20T08:01:40.000Z (over 2 years ago)
- Last Synced: 2024-01-08T11:17:47.952Z (10 months ago)
- Topics: game, number-guessing-game, python, python3, random, randomization
- Language: Python
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Simple_Number_Guessing_Game_with_Python
This repository contains a set of simple Python code for a simple number guessing game. The player guesses a number between 1 - 100 and the game tells the player if the number is too high or too low, until the player gets the number right. There are two levels for the game: easy and hard for 10 and 5 guesses, respectively.This simple set of code demonstrate the use of if-else statement, randomization, and the use of global variable in Python programming.
![image](https://user-images.githubusercontent.com/65524471/154833832-310ca80b-33c6-48c6-a222-4b8cc3fafa17.png)