Skip to main content

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

3 votes
1 answer
86 views

Simple CLI Hangman Game in C#

I'm a beginner at C#, and this is a console application that I wrote as I'm attempting to recreate simple games such as Hangman, TicTacToe, etc. I'm wondering if there's any logic in my code that's ...
MrTungsten's user avatar
4 votes
1 answer
120 views

Hangman game in JavaScript

I have attempted to create a hangman game in JavaScript. Some parts of my code is a bit DRY. Basically, the Hangman class is a wrapper for all of the available actions in a typical hangman game: setup ...
Napoleon Bonaparte's user avatar
3 votes
1 answer
172 views

Yet another CLI Hangman game

...with properly packaged/type-hinted code, automated testing, and no dependencies. Do note that this package requires Python 3.12 or later. Only pyproject.toml and ...
InSync's user avatar
  • 219
2 votes
1 answer
694 views

Little CLI game in C++ with random words

the game is quite simple, you have to constantly guess the letters of a hidden word, but has a limited number of wrong attempts. The word you are looking for should be a random word from Wikipedia. I ...
Tobias Grothe's user avatar
10 votes
2 answers
169 views

Hangman game in C

I am a beginner who wrote this simple Hangman game in C for fun and to practice programming. I am looking for advice on optimizing this code and making it adhere to best practices. Are there too many ...
smwt's user avatar
  • 187
4 votes
1 answer
191 views

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
100 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
  • 161
2 votes
1 answer
83 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
293 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
100 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
105 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. ...
minseong's user avatar
  • 749
0 votes
2 answers
83 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
57 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
87 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
  • 139
4 votes
2 answers
1k 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
  • 139

15 30 50 per page
1
2 3 4 5
14