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
A playable version of Chess – classic two-player, various AI levels, and the crazyhouse variant! Written in Python 3

A playable version of Chess – classic two-player, various AI levels, and the crazyhouse variant! Written in Python 3. Requires the installation of PIL/Pillow and Requests

1 Dec 24, 2021
The DOS game from the 80s re-written in Python from Scratch!

Drugwars The DOS game from the 80s re-written in Python from Scratch! Play in your browser Here Installation Recommended: Using pip pip3 install drugw

Max Bridgland 45 Jan 03, 2023
WordleHelper suggests words to help players better enjoy the hit game Wordle

WordleHelper Introduction WordleHelper suggests words to help players better enjoy the hit game Wordle. Both the general mode and the hard mode are su

Shao-Yu, Chu 5 Jun 02, 2022
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
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
BUBBLE SHOOT - Pygame (python)

BUBBLE-SHOOT---Pygame BUBBLE SHOOT - Pygame (python) Bubbleshooter This is a Bubble shooter Game made with pygame. The arrow is controlled by the arro

ROBIN JONEY 1 Nov 12, 2021
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
Simple wordle clone + solver + backtesting

Wordle clone + solver + backtesting I created something. Or rather, I found about this game last week and decided that one challenge a day wasn't goin

1 Feb 08, 2022
A script to install a Windows game through GOG on Linux

proton-gog-install A script to install a Windows game through GOG on Linux. Based on this gist. Tested on Arch, might work elsewhere. Requirements: Im

5 Dec 28, 2022
Input-based tic tac toe game made in only python.

Tic Tac Toe Tic Tac Toe is a game in which two players seek in alternate turns to complete a row, a column, or a diagonal with either three O's or thr

Ayza 5 Jun 26, 2022
A Simple Scissor Paper Rock Game On Python Using Pygame.

Scissor Paper Stone Game Using Pygame This is a simple GUI based game made on pygame python. Installation Run code on your machine: git clone https:

Dipin Adhikari 0 Mar 21, 2022
Breakout-KD - A fantastic game created in python with pygame ✌️

Breakout-KD About This Game Breakout-KD is a fantastic breakout game. It's a python based game officialy made by me on december holiday. This game wor

Keep Distance 1 Jan 01, 2022
Blackjack Game made using Python

Blackjack Game made using Python Blackjack is a popular card game played in most of the casino.This is an intuition to replicate the same card game us

SUHASJAGADISH 1 Nov 28, 2021
Just to play with my kids: create a secret alphabet and exchange encrypted messages

Secret Alphabet Description This project allows you to randomly generate an alphabet (a set of characters) and its corresponding translation. For the

BS 1 Nov 12, 2021
Tictactoe py tkinter canvas - Tic Tac Toe written in Python 3 with tkinter mainly using canvas

Python 3 Tic Tac Toe with tkinter This is a tkinter version of my Tic Tac Toe ga

Bojan Adzic 1 Jan 09, 2022
Code infrastructure and player algorithms for the Codenames board game.

Codenames Code infrastructure and player algorithms for the Codenames board game. This is the active fork of mkali-personal/codenames. Intro This is b

Asaf Kali 1 May 18, 2022
Wordle-helper: python script to help solving wordle game

wordle-helper This is a python script to help solving wordle game 5-letter-word-

MD Nur Ahmed 2 Feb 08, 2022
This is a python bot to automate BombCrypto game

This is a python bot to automate BombCrypto game. Logs in to the game, reconnects when needed, closes error warnings, sends heroes to work or home automatically, has Telegram integration and lets you

AFKAPP 39 Sep 28, 2022
Pratice Project - Tic tac toe game

Hello! This tic-tac-toe game project and its notes are result from a course pratice milestone. The project itself is written in Python using the Jupyt

Rafael Nascimento 1 Jan 07, 2022
Online battleships game on python and JS

Battleships Online battleships game Using websockets to connect to the client. SQLite database for storing account data and game logs (for players top

5 Nov 11, 2021