As of May 31, 2023, we have updated our Code of Conduct.

Questions tagged [hangman]

A common word-guessing game, usually involving a pictorial representation of a stick figure being hanged, progressively rendered for each wrong guess

Filter by
Sorted by
Tagged with
2 votes
0 answers
92 views
+50

Hangman Game in HTML + CSS + JS

I recently developed a hangman game with HTML, CSS and JavaScript and I would like to get your feedback and tips to improve it. The goal of the game is to guess a secret word before 6 incorrect ...
Lucio Mazzini's user avatar
7 votes
1 answer
78 views

Any advice for my HANGMAN game with PySimpleGUI?

Could you please tell me if there's anything I could improve in my Hangman Game ? I made this Hangman Game in PyCharm and been improving and adding features for some time. It would be nice if someone ...
Paichiwo's user avatar
  • 101
2 votes
1 answer
64 views

Rust implementation of Hangman

I created a rust implementation of hangman as a command line version. The user can enter characters to find out the desired word. I really appreciate any helpful comment which highlights how I could ...
user6475988's user avatar
4 votes
1 answer
283 views

Hangman game, with secret word provided by user

I recently started learning programming and in particular Java. I wrote this small hangman game which takes the input for the secret word from the user. It all works as intended; I would like to know ...
ANTONIO ALTAVILLA's user avatar
2 votes
1 answer
65 views

C++ Hangman Game, class organization

I have recently created a Hangman Game in C++ and I would like your feedback on any improvements that can be made to this Hangman game I have written especialy in class organization. Here is the code :...
Yann Depledt's user avatar
2 votes
0 answers
80 views

Aesthetic Python console hangman

I tried to code a console hangman game that looks a lot like hangman often does on paper, with a scattering of incorrect guesses next to the drawing of the hangman. ...
theonlygusti's user avatar
0 votes
2 answers
76 views

Object Oriented Hangman in Python Version 2.0

I am looking for as much criticism as possible. Specifically I am trying to institute BEST PRACTICES for OOP and game design. Enjoy! Github hangman repository Each Class is in a separate file and ...
Infinite Grasp's user avatar
2 votes
2 answers
55 views

Object Oriented Hangman in Python (version 1.0)

As always, I am looking for as much criticism as possible. Forums and exchanges like this are where I have received my most solid feedback. Enjoy! Github hangman repository The code that I import is ...
Infinite Grasp's user avatar
3 votes
1 answer
80 views

Hangman game succesfully built

I have completed the Hangman game. Can somebody look at the code and see what I've done wrong? What should I add to improve it? Are there any bugs in it? ...
mcccuklev's user avatar
  • 127
4 votes
2 answers
687 views

Hangman Game: Revealing guessed letters

I solved this problem: the Edabit Hangman Game challenge. Create a function that, given a phrase and a number of letters guessed, returns a string with hyphens - ...
mcccuklev's user avatar
  • 127
0 votes
1 answer
68 views

Converting a Hangman guess to lowercase [closed]

I am very much a beginner (only if/else, for, while, slice etc) and I wrote Hangman game. I needed to put in there code saying "let’s transform the player's guess to lowercase one every time he ...
Lia's user avatar
  • 21
1 vote
1 answer
92 views

Hangman game in Haskell, written using a state monad

I recently made a simple hangman game in Haskell but soon wanted to explore the state monad, since it could possibly simplify the code. The result was this (see below), which is exactly 30% more lines ...
ola_bandola's user avatar
3 votes
1 answer
100 views

A simple hangman game in Haskell

I just finished a course of functional programming in uni and continued to study Haskell because I found it very interesting! I made a simple hangman game and would like to hear any of your thoughts ...
ola_bandola's user avatar
2 votes
1 answer
238 views

Python smart Hangman game

I made a smart Hangman game in Python and now want your opinion about the readability and code quality of this script. I want to improve my overall coding style. So I am happy to hear improvements for ...
adama's user avatar
  • 123
2 votes
1 answer
90 views

A Rust beginner's Hangman game

I have been learning Rust for a few days (This is my third) now, and I've really fallen in love with the language, this is my first real project, Hangman. I was wondering what I could do better / what ...
Sam's user avatar
  • 43
2 votes
1 answer
509 views

Hangman game in Python with OOP

I made the hangman game using OOP. It is the first "big" project I do using OOP. I would like to know if there is something to improve in the program I made. This is the code: ...
Lucio Mazzini's user avatar
4 votes
0 answers
134 views

Java OOP Hangman revision #4 includes UML

This is a continuation of this question. In the game the player chooses a topic and then gets a random word (or words) from that topic to guess. I've repartitioned the code into objects several times,...
scripta's user avatar
  • 441
1 vote
0 answers
63 views

Java OOP Hangman - revision #3 (WordToGuess)

This class gets a word to be used in a game of Hangman. The player can select a topic from which a random word is selected. The topic is the name of a text file. For example the text file scientists ...
scripta's user avatar
  • 441
1 vote
1 answer
82 views

Java OOP Hangman - revision #2 (get word in category)

This code gets a random word from a word list for a category chosen by the player. The categories are the names of text file containing a list of words. "Words" can contain spaces and ...
scripta's user avatar
  • 441
1 vote
1 answer
79 views

Java OOP Hangman - revision (get word in category)

I've revised the code in the light of comments (the initial post was here). I've initially just redone the logic to get a random word for the category chosen by the player. I'd appreciate any feedback ...
scripta's user avatar
  • 441
7 votes
2 answers
777 views

Hangman game in Python with nine possible words

I'm relatively new to Python, and I've been using the language for about a month. I set out to do the Hangman game. I would like to know if there are things to improve in the code of the program I ...
Lucio Mazzini's user avatar
7 votes
2 answers
627 views

First Hangman Game. Need Honest Opinion

Please provide your honest feedback. Thanks Doing Angela Yu's 100 days of code. Have not seen the videos on this section yet. This is just my attempt. here is the link to run the code. Hangman game <...
singhsokhal's user avatar
0 votes
3 answers
88 views

Object-Oriented Hangman In Python [Follow-Up]

This is a follow up after revisions made from this question. I've separated the program into 2 classes. The HangManData class is used to store game data such as the ...
Grewal_Creator's user avatar
4 votes
1 answer
93 views

Objected-Oriented Hangman game In Python

I'm still a beginner in python and made this simple program to practice OOP, I've ended up using the self keyword a lot and I'm not sure if this is normal or if I ...
Grewal_Creator's user avatar
5 votes
2 answers
3k views

Hangman game coded in C++

I have completed my hangman project in C++. I would like your thoughts and improvements on my implementation. Here is the code: ...
Random_Pythoneer59's user avatar
2 votes
2 answers
294 views

Fake Interview Scenario: Hangman

For a fake interview I decided to write Hangman. The first question I have is when reviewing someone's code for a job interview is it more important to write something short and sweet that gets the ...
Jack K's user avatar
  • 21
5 votes
2 answers
441 views

First Time Making A hangman game

I've Never really made a game or such in python but was bored, so I tried to make a hangman game. I don't like how many if else statements I used but I can’t think of a better way to do it. Any ...
Seanie Stack's user avatar
15 votes
3 answers
2k views

OOP Hangman Game

My daughter and I are trying to teach ourselves Python and OOP. We wrote a hangman game, and we'd really appreciate some feedback. Are we heading in the right direction? How could we improve it? ...
scripta's user avatar
  • 441
3 votes
2 answers
472 views

Hangman game with only one word

This is a hangman game. The only word is 'word' and I am not planning on changing this since I am not going to publish this game or anything. If there is any unnecessary/bad code I need to get rid of, ...
user13988674's user avatar
1 vote
0 answers
99 views

Hangman program (python)

I created a fairly simple hangman program as a little side project. Could you please tell me of any improvements/suggestions/criticism/feedback that you have about my code? Thank you in advance. ...
Manav Desai's user avatar
2 votes
1 answer
166 views

Java hangman game

This is my implementation of the classic "Hangman" word-guessing game. Class LePendu : ...
Cheg 62's user avatar
  • 21
2 votes
1 answer
370 views

Python Text-Based Hangman Game

I have just written a hangman game in Python for a school project. It reads in a list of words from a text file, and graphics from another text file. For each word, the program asks keeps asking for ...
stadepalli's user avatar
0 votes
1 answer
197 views

A C# hangman game

I made this c# hangman game... I would like to know what you all think about it. This is a pretty basic but still gets the job done let me know what you think. ...
user avatar
5 votes
1 answer
129 views

Hangman Game Efficiency

To put it simply, I'm making a hangman game and it works as it is, it correctly outputs what I want it to, and I have no problem with submitting it now. I only wish to make it more efficient, and I ...
IcoSli's user avatar
  • 53
1 vote
1 answer
80 views

Simple Hangman implementation in Rust

I'm starting out with Rust and decided to implement a game of Hangman. Can you please provide general feedback on the code? I've already identified some lines (see comments ...
BusyAnt's user avatar
  • 639
1 vote
1 answer
1k views

string guessing game in java

...
Aesha Shah's user avatar
3 votes
1 answer
2k views

Hangman Game from OCW MIT 6.0001 Pset No. 2

I just completed Pset 2 about the Hangman game that was issued from OCW MIT. The Pset has no available solution so that any comment regarding code writing best practices would be greatly appreciated (...
yfr's user avatar
  • 169
2 votes
2 answers
146 views

Classic games selection

It is an extremely basic mini-game menu. Link to my game. I know there are more experienced C++ programmers than me, so it would be a great help if you help make my code better. Thank you. PS: First ...
CrazyKanav's user avatar
4 votes
1 answer
185 views

C++ Hangman with a class

Well, hang-bar but same deal. Any things I could've improved? (I'm starting to get into c++, so chose this as a basic project) Actually, one question I had: I'm using code::blocks, which generates ...
Theo's user avatar
  • 193
3 votes
1 answer
188 views

Simple Hangman game in Python3

I made a simple Hangman game in Python: ...
TheOriginalOdis's user avatar
4 votes
1 answer
195 views

Simple hangman game from beginner

This is the first project I am attempting in Python, and my first time on Stack Exchange, so please be kind. The game uses a text file with lots of words. I was wondering how to improve the game by ...
JessicaBr's user avatar
1 vote
2 answers
675 views

Create a simple hangman game using OOP and Javascript

I had a task to create a simple hangman game using O.O.P. with Javascript. It had to render the puzzle and remaining guesses to the DOM but didn't require any C.S.S. This is what I created. This is my ...
user6248190's user avatar
3 votes
1 answer
1k views

Python Beginner - Basic Hangman Game Using Turtle

I built upon a previous beginners' class' hangman game to do graphics with Turtle. It should work with any .txt list of words in whatever location you specify at the top of the code (in my case on ...
DiogenesOfMiami's user avatar
4 votes
2 answers
75 views

Improvements to simple Hangman Game in Python

I created this hangman game today as my first stand alone project. It is a quite basic and simplified approach. How could I improve the game to make it more interesting? ...
IBYZ RULEZ's user avatar
4 votes
1 answer
222 views

Hangman Game in Python-3

...
Phinn Galactica's user avatar
2 votes
1 answer
157 views

New to Rust: Hangman game

I decided to try my hand at a Hangman game to familiarize myself a bit with the language. ...
coyotte508's user avatar
2 votes
2 answers
703 views

Feedback HangMan game using python and tkinter for GUI

Having too much spare time during the quarantine I learned some basic python (plus tkinter for GUI) and made a little HangMan game :) Would love any feedback for improvement. Thank you. ...
SA.93's user avatar
  • 123
4 votes
1 answer
100 views

Command-line English Hangman game

Introduction As a Python neophyte, I implemented the Hangman game as a practice, which operates case-insensitively on the 26 English letters. My biggest concern at the moment is my use of ...
L. F.'s user avatar
  • 9,416
9 votes
4 answers
534 views

Hangman game implemented in Python

I'd like to know how to improve this code because I think that the main_func is too big and I can not split it into other functions or classes. Also, I want to know ...
filip augusto's user avatar
6 votes
2 answers
114 views

My Guessing Game

This is a project that I remade to help me understand function definitions better. It may not be great but I am proud of it. I would love to have you review this project and tell me what I could ...
bliboy's user avatar
  • 369