Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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)