When you enroll through our links, we may earn a small commission—at no extra cost to you. This helps keep our platform free and inspires us to add more value.

PHP for Beginners - Building a Hangman Word Game
Unlock creativity with Skillshare! Learn acrylic painting, AI writing, graphic design, and photography.

This Course Includes
skillshare
0 (0 reviews )
3 hours 58 minutes
english
Online - Self Paced
course
SkillShare
About PHP for Beginners - Building a Hangman Word Game
Intro Video
Video 1 Setting up the Coding Environment
Video 2 An overview of what you will build
Video 3 Getting the word length
Video 4 Selecting a random word from an array
Video 5 Selecting a random word from a text file
Video 6 Dealing with letter guesses
Video 7 Creating the session variables
Video 8 Creating a basic HTML form
Video 9 Checking letter guesses against the word
Video 10 When the number of lives equals zero
Video 11 When the number of lives is greater than zero
Video 12 Dealing with a win
Video 13 Adding Bootstrap CSS files
Video 14 Adding a menu
Video 15 Tidying the code
Video 16 Styling the current state of play
Video 17 Styling the form
Video 18 Creating a row and columns to hold the canvas and scoreboard
Video 19 Styling the scoreboard
Video 20 Styling the You Won message with an alert box
Video 21 Styling the You Lost message with an alert box
Video 22 Setting up the canvas
Video 23 Setting up the functions for the javascript
Video 24 Setting up the javascript logic
Video 25 Drawing on the canvas
Video 26 Dealing with the HTML
Video 27 Creating functions for the logic
Video 28 Moving the dropdown and form button using Bootstrap CSS rules
Video 29 Adding a Dismissible Alert Box
Video 30 CHALLENGE - Add tracking for incorrect and correct guesses
Video 31 CHALLENGE SOLUTION - Add tracking for incorrect and correct guesses
Video 32 CHALLENGE - Add a scoreboard reset button
Video 33 CHALLENGE SOLUTION - Add a scoreboard reset button
Video 34 CHALLENGE - Adding a modal popup to confirm scoreboard reset
Video 35 CHALLENGE SOLUTION - Adding a modal popup to confirm scoreboard reset
Video 36 CHALLENGE - Add a rating option
Video 37 CHALLENGE SOLUTION - Add a rating option
Video 38 CHALLENGE - Replacing the dropdown with buttons
Video 39 CHALLENGE SOLUTION Part 1 - Replacing the dropdown with buttons
Video 40 CHALLENGE SOLUTION Part 2 - Replacing the dropdown with buttons
Video 41 CHALLENGE SOLUTION Part 3 - Replacing the dropdown with buttons
VIdeo 42 CHALLENGE - Add multiple categories of words
What You Will Learn?
- In this course you will learn how to build a hangman word game using:.
- Every line of code is explained as you progress from the very basics of selecting a word from a text file through to drawing on the HTML canvas, sending AJAX calls to functions, and adding category selections..
- This course is taught by a national award-winning teacher who uses his 30 years of teaching experience to identify and focus on the parts that most students find challenging..
- A series of challenges towards the end of the course will allow you to test your understanding. Full solutions are provided with each line of code explained..
- ENROLL TODAY..