Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/pkx8326/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.
https://github.com/pkx8326/simple_python_classic_head_or_tail_game

classic coin game head python random randomization simple tail toss tossing

Last synced: 5 days ago
JSON representation

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.

Awesome Lists containing this project

README

        

# 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/