Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
A common word-guessing game, usually involving a pictorial representation of a stick figure being hanged, progressively rendered for each wrong guess
5
votes
Simple CLI Hangman Game in C#
ToUpper();
I also moved:
Console.WriteLine("Welcome to Hangman!") … Game";
HangmanGame hangmanGame = new HangmanGame();
do
{
Console.WriteLine("Welcome to Hangman!") …
6
votes
Hangman game in Python
This is Python and you do not need the Semi-Colons (;)
Your code looks absolutely non-pythonic like that, it looks like it is trying to morph into Java or something.
You should also separate some mo …
3
votes
Simple game of Hangman
You asked about your Exception Handling.
try:
player_guess = str(input("\nPlease select a letter between A-Z" + "\n> ")).lower()
except: # check valid input
p …