Overview
Learn to build a complete Hangman game in Java from scratch in this comprehensive tutorial. Explore file input, keyboard input, and String manipulation techniques while creating a game compatible for both single and multiplayer modes. Follow along as the instructor codes live, demonstrating key concepts such as randomizing words, creating game logic, implementing user input, and designing winning and losing conditions. Gain practical experience in Java programming by developing a functional game application, suitable for beginners looking to improve their coding skills.
Syllabus
Intro
Hard Version
Randomizer
Randomizing Words
Writing the Game
How Hangman Works
Creating the List
Printing a Dash
Print Word State
Print to Current State
Input from User
Looping
Testing
Exiting
Correct Count
Boolean
PrintWordState
Ending the Game
Winning the Game
Guess the Word
Guess the Word Again
Losing Conditions
Printing Out
Player Guess
Testing Player Guess
Print Hangman
Test
Two Player Version
If Statement
Clearing Console
New Lines
Testing the Game
No Cheating
Limit Difficulty
Outro
Taught by
Coding with John