Skip to main content
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
Results tagged with
Search options questions only not deleted user 246615

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

1 vote
1 answer
88 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
  • 499
1 vote
1 answer
82 views

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

Eventually to be incorporated into a Hangman game. The current post is a revision in response to comments / suggested improvements from Martin Frank and RoToRa. The previous post is here. …
scripta's user avatar
  • 499
5 votes
0 answers
152 views

Java OOP Hangman revision #4 includes UML

JFrame.EXIT_ON_CLOSE); gibbetLabel = new GibbetLabel(); container.add(gibbetLabel); progressLabel = new ProgressLabel(prog); container.add(progressLabel); container.add(alphabet); setTitle("Hangman
scripta's user avatar
  • 499
0 votes
0 answers
66 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. …
scripta's user avatar
  • 499
15 votes
3 answers
2k views

OOP Hangman Game

We wrote a hangman game, and we'd really appreciate some feedback. Are we heading in the right direction? How could we improve it? Anything that makes a Python programmer go "ouch"? … We've posted it as a repl here: https://replit.com/@scripta/Hangman#main.py Changed the invoking functionality into a class "Game" as per ASM's suggestion. …
scripta's user avatar
  • 499