A simple hangman game for beginners trying to learn python

Overview

Hangman Game

This is a simple hangman game for beginners trying to learn python. I have tried to keep it as simply as possible.

Sample output

Here is some sample output from my game.

__ ____ ___________ 

 you have 10 guesses left
guess a letter> g
your guess was correct
__ ____ ___g______g 

 you have 10 guesses left
guess a letter> e
your guess was correct
_e ___e ___g______g 

 you have 10 guesses left
guess a letter> d
your guess was incorrect
_e ___e ___g______g 

 you have 9 guesses left
guess a letter> f
your guess was incorrect
_e ___e ___g______g 

 you have 8 guesses left
guess a letter> v
your guess was correct
_e __ve ___g______g 

 you have 8 guesses left
guess a letter> g
you already guessed that letter
_e __ve ___g______g 

 you have 8 guesses left
guess a letter> a
your guess was correct
_e __ve ___g_a____g 

 you have 8 guesses left
guess a letter> w
your guess was correct
we __ve ___g_a____g 

 you have 8 guesses left
guess a letter> l
your guess was correct
we l_ve ___g_a____g 

 you have 8 guesses left
guess a letter> y
your guess was incorrect
we l_ve ___g_a____g 

 you have 7 guesses left
guess a letter> h
your guess was incorrect
we l_ve ___g_a____g 

 you have 6 guesses left
guess a letter> o
your guess was correct
we love __og_a____g 

 you have 6 guesses left
guess a letter> p
your guess was correct
we love p_og_a____g 

 you have 6 guesses left
guess a letter> r
your guess was correct
we love progra____g 

 you have 6 guesses left
guess a letter> x
your guess was incorrect
we love progra____g 

 you have 5 guesses left
guess a letter> b
your guess was incorrect
we love progra____g 

 you have 4 guesses left
guess a letter> n
your guess was correct
we love progra___ng 

 you have 4 guesses left
guess a letter> m
your guess was correct
we love programm_ng 

 you have 4 guesses left
guess a letter> i
your guess was correct
you won
Text-Adventure-Game [Open Source] A group project by the Python TASK Force

Text-Adventure-Game [Open Source] A group project by the Python TASK Force

Mircea Dumitrescu 2 Sep 17, 2021
Console 2D GameEngine {C2DGE} [0.1.0]

Console 2D GameEngine {C2DGE} [0.1.0] By Grosse pastèque#6705 The Project's Goal : This projects was just a challenge so if you have bad reviews, it's

Big watermelon 1 Nov 06, 2021
🐍 Conway's Game of Life cellular automaton implemented in PyGame

Conway's Game of Life My PyGame implementation of Conway's Game of Life. This implementation involves treating all edges of the grid as stitched toget

Mateusz Żebrak 1 May 29, 2022
A python script to solve Wordle puzzles

Wordle solver A python script to solve Wordle puzzles.

Felix Weinberger 1 Feb 12, 2022
Mastermind-Game - A game to test programming and logical skills

Bem vindo ao jogo Mastermind! O jogo consiste em adivinhar uma senha que será ge

Marcelo Daros 0 Jan 27, 2022
TwoDMaker (2DMaker) - Simple engine for 2D games making!

TwoDMaker (2DMaker) - Simple engine for 2D games making! Create simple games (or ui) in one hour! About. This is a simple engine for game or gui app c

Ivan Perzhinsky. 1 Jan 03, 2022
A pure python implementation of a solver for the popular game wordle.

A pure python implementation of a solver for the popular game wordle.

1 Oct 06, 2022
Pyxel is a retro game engine for Python.

Pyxel is open source and free to use. Let's start making a retro game with Pyxel!

Takashi Kitao 11.2k Jan 09, 2023
AI that plays Flappy Bird Game using the python module NEAT.

Flappy Bird AI [NEAT] AI that plays Flappy Bird Game using the python module NEAT. Instructions Install Python Modules: pip3 install -r requirements.t

Abhisht 5 Jan 26, 2022
Python Knots and Crosses game, with customizable markers and more!

Knot-and-Crosses Python Knots and Crosses game, with customizable markers and more! Features: Ability to change your marker Ability to change how many

4 Nov 07, 2021
DouZero_For_HLDDZ_FullAuto: 将DouZero用于欢乐斗地主自动化

DouZero_For_HLDDZ_FullAuto: 将DouZero用于欢乐斗地主自动化 本项目基于DouZero 和 DouZero_For_Happy_DouDiZhu 环境配置请移步项目DouZero 模型默认为ADP,更换模型请修改main.py中的模型路径 运行main.py即可 在原

322 Dec 25, 2022
Disables the chat in League of Legends for Windows.

Disables the chat in League of Legends for Windows. If you simply can't stop yourself from typing LeagueStop will play KEKW.mp3 each time you try. The sound will stack & becomes horribly annoying.

1 Nov 24, 2021
Searches the word list in Wordle based on search pattern.

Wordle Searcher Searches the word list in Wordle based on search pattern. Warning: like all forms of cheating, it trivializes the game, and robs you o

Tyler Martin 1 Jan 29, 2022
Wordle is a web-based word game. Players have six attempts to guess a five-letter word;

Wordle is a web-based word game. Players have six attempts to guess a five-letter word; feedback is given for each guess, in the form of colored tiles, indicating when letters match or occupy the cor

Abhishek 2 May 21, 2022
Hexagon game. Two players: AI and User. Implemented using Alpha-Beta pruning to find optimal solution for agent.

Hexagon game. Two players: AI and User. Implemented using Alpha-Beta pruning to find optimal solution for agent.

Anton 1 Oct 18, 2021
DOTD - A murder mystery game made in Python

DOTD This repo holds the files for my video game project from ENG101, Disaster o

Ben Bruzewski 1 Jan 13, 2022
A small module for creating a card deck, used for making card games

card-deck This module can be used to create small card games such as BlackJack etc.. To initialize the deck, use: Deck() To shuffle the deck, use: Dec

4 Dec 31, 2021
16-bit PvP platform minigame made for a final high-school project

16-bit PvP platform minigame made for a final high-school project

Flavien 1 Feb 10, 2022
This is simple minesweeper-like Telegram game

This is simple minesweeper-like Telegram game. You need to open all "free" squares and put flags on squares with bombs on them. If you open a cell with a bomb, the game is over.

Aleksandr 32 Dec 31, 2022
The original Tetris tile-matching game as adopted by IBM PC.

🕹️ Tetris Game The original Tetris tile-matching game as adopted by IBM PC. Game developed purely on python using the Dear PyGui Framework. 📖 Instru

14 Nov 12, 2022