AWS Logo
Menu
Hangman with AWS: My 7-Day Game Builder Challenge

Hangman with AWS: My 7-Day Game Builder Challenge

Never heard of Hangman? Then you must try out my game.

Published Jan 13, 2025
Last Modified Jan 14, 2025
About the Hangman game :
Hangman is the game where your spelling skills decide if a stickman lives to see another day or ends up swinging from a doodled gallows. You guess letters to uncover a hidden word, but every wrong guess gets your stick buddy one step closer to an unfortunate end. It's like a spelling bee, but with way more drama and fewer prizes!
Rules of the Game
  1. A word or phrase is randomly chosen and displayed as blank spaces (one for each letter).
  2. Players guess letters to try to fill in the blanks.
  3. Each correct guess reveals all instances of the letter in the word.
  4. Each incorrect guess adds a piece to the stick figure (head, body, arms, legs, etc.).
  5. The player wins by guessing the complete word before the stick figure is fully drawn.
  6. If the stick figure is completed first, the game is over, and the player loses.
My Game Mechanism :
Difficulty Levels: Choose your challenge! Harder difficulty means longer, trickier words. Time to test your vocabulary!
Word Selection: I’ve got an array of words ready to go—selected randomly based on the difficulty.
Keyboard or Mouse: You can play the game using either the keyboard to type your guesses or by clicking on the letters displayed on-screen, whichever you prefer.
Simple and Fun: Guess letters, save the stick figure, and feel the tension rise with every wrong guess. Easy to play, but can you save the poor stickman?
Github repo link : https://github.com/zeffins/Hangman_aws
Game link : https://main.d3bsbmwhm15w0s.amplifyapp.com/
AWS Services Used :
Amazon Q:  As a last-minute developer, Amazon Q's features allowed me to complete the project in just one week, saving me a lot of time and effort. Truly all thanks to amazon Q it helped from creating the project to debugging the errors which i encountered every now and then.
AWS Amplify: For hosting the app, I used AWS Amplify, which provided a simple and reliable way to deploy and manage the game. Amplify made it easy to host the game on the web.Thanks to Amplify, the hosting and backend setup were efficient, allowing me to focus more on game development rather than deployment.
Development Journey
  • Jan 5: The first step was all about brainstorming. I spent the day considering different game concepts and weighing my options. After some discussions with my teammates, I landed on the classic Hangman game.
  • Jan 6: This day was all about creating the backbone of the project. I dove into setting up the basic structure and logic of the game, ensuring that the essential gameplay—guessing letters and revealing the hidden word—worked seamlessly.
  • Jan 7: With the core mechanics in place, I shifted my focus to improving the design. I wanted the game to look engaging and modern, so I spent time fine-tuning the visuals, layout, and overall user interface.
  • Jan 8: Life threw a curveball my way with some personal commitments, so I had to hit pause on the project for the day. But it gave me time to think about what else I could add to the game.
  • Jan 9: I was eager to integrate AWS Bedrock to add dynamic word and clue generation, thinking it would elevate the game. Unfortunately, I faced permission issues, and I couldn’t get it working as I’d hoped. That setback didn’t discourage me; I knew there were other ways to make the game shine.
  • Jan 10: I picked up the pace again and spent the day polishing the application. I re-designed the game , improved some functionality, and ensured the game was smooth and intuitive. At this point, the game was starting to feel like a finished product, but I wanted to add a bit more polish.
  • Jan 11: A rare day off from development, but it gave me time to review everything and make sure I was on track for the final push.
  • Jan 12: The big day arrived—I deployed the game on AWS Amplify! With Amplify’s seamless hosting and deployment tools, getting the game live was a breeze. I was finally able to see my project come to life online and accessible to players everywhere.
  • Jan 13: I wrapped up the journey by writing this blog post and doing a final polish on the game. I played through the game one last time to make sure everything was perfect, and I couldn’t be more pleased with the result.
    Git hub commits
Take a peek at my game :
Choosing difficulty

 Future Updates for the Hangman Game Project
  • AWS Bedrock Permissions: I will prioritize resolving the access issues and securing the necessary permissions to leverage Bedrock’s capabilities.
  • DynamoDB Schema Design: Designing an efficient schema for user data and scores that accommodates future expansions, such as multiplayer support.
  • S3 Asset Integration: Refactoring the current asset management system to seamlessly integrate with S3 and optimize asset loading.
Github repo link : https://github.com/zeffins/Hangman_aws
Game link : https://main.d3bsbmwhm15w0s.amplifyapp.com/
I’d love for you to try out the game and share your feedback! What features would you add or improve? Let me know in the comments.
 

3 Comments