Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/pkx8326/simple_python_classic_head_or_tail_game
- Owner: pkx8326
- Created: 2022-01-21T10:18:44.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-01-21T10:20:35.000Z (almost 3 years ago)
- Last Synced: 2024-11-13T11:41:13.695Z (2 months ago)
- Topics: classic, coin, game, head, python, random, randomization, simple, tail, toss, tossing
- Language: Python
- Homepage:
- Size: 2.93 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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/