Skip to content

JennieNgi/number-guessing-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

numberGuessingGame

Number Guessing Game

Introduction

  • A interactive number guessing game
  • The purpose is to show skills in Python

Installation

  • Python 3.10.2
  • Visual Studio Code

Game Instruction

  • Run Terminal in Visual Studio Code
  • User will be asked to guess a number between 1 and 100
  • Hint will be given if the guess is too low or too high
  • If user guess wrong number more than 10 times, they lose the game
  • The system will automatically restart the game after 2 seconds

Code Explaination

  • Error checking is added if the user guess is not number 1-100 or duplicated input
  • If else statement
  • While loop

Credit/Acknowledgment

  • Nova Scotia Community College school project

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages