Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 817 Bytes

README.md

File metadata and controls

26 lines (20 loc) · 817 Bytes

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