Skip to content

This is a simple classic "Head or Tail" guessing game with Python. The user guess the result of or coin toss by typing "Head" or "Tail" as an input. The computer then shows the result. The user's input is then compared against the result to check if the player wins or loses. This game also gives summary about how many games the player has played…

Notifications You must be signed in to change notification settings

pkx8326/Simple_Python_Classic_Head_or_Tail_Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Simple_Python_Classic_Head_or_Tail_Game

This is a simple classic "Head or Tail" guessing game with Python. The user guess the result of or coin toss by typing "Head" or "Tail" as an input. The computer then shows the result. The user's input is then compared against the result to check if the player wins or loses. This game also gives summary about how many games the player has played, and how many wins and losses throughout those games.

In this game, the computer will always give the player a grammartically-correct message, doesn't matter how many times he/she has won or lost.

Credit: This program (game) is a modification of a Python program found in Angela Yu's "100 Days of Code: The Complete Python Pro Bootcamp" on Udemy. You can go to the course's page by clicking the following link (not a ref. link): https://www.udemy.com/course/100-days-of-code/

About

This is a simple classic "Head or Tail" guessing game with Python. The user guess the result of or coin toss by typing "Head" or "Tail" as an input. The computer then shows the result. The user's input is then compared against the result to check if the player wins or loses. This game also gives summary about how many games the player has played…

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages