Click Here to view the Live Project.
Click here to view the Repository.
- About
- User Value Explanations
- Installation
- How to Play
- Design
- General Features
- Future Features
- JavaScript Functions
- AI Overview
- Things to be Improved
- Technologies Used
- Validation
- Wireframes
- Lighthouse Performance
- Credits
Burger Quest is an interactive and engaging word-guessing game designed for players of all ages. The primary goal of the game is to guess the hidden word by selecting letters within a limited number of attempts. The game offers various difficulty levels to cater to different skill sets, making it both challenging and entertaining. The project was developed as part of a hackathon organized by Code Institute, with a focus on creating a fun and educational experience that helps improve vocabulary and spelling skills. The design is kid-friendly, featuring vibrant colors and playful animations to enhance the user experience.
- Entertainment: The game provides a fun and engaging way to pass the time.
- Challenge: Different difficulty levels offer varying degrees of challenge, keeping the game interesting.
- Learning: Players can improve their vocabulary and spelling skills while playing.
- Accessibility: The game is easy to understand and play, making it accessible to a wide audience.
- Clone or download the repository.
- Open the index.html file in your browser.
The game does not require external libraries. All styles and scripts are included in the project.
- Open the game in your browser.
- Select a difficulty level (Easy, Medium, or Hard).
- Guess letters by either:
- Clicking buttons on the on-screen keyboard.
- Typing a letter in the text box and clicking "Submit."
- The game provides feedback:
- Correct guesses reveal the letter(s) in the word.
- Incorrect guesses decrease your remaining attempts.
- Win by guessing the word before running out of attempts.
- Lose if attempts reach zero without guessing the word.
-
Colours: List the colours used in your project.
- Main Background: #B1F0F7
- Game Background: #F5F0CD
- Title Colour: #fca644
- Text Colour: #333
- Button Colour: #37bdf7
- Button Hover: #B1F0F7
- Button Text: #FFF8DE
- Button Text Hover: #727272
- Reset Colour: #fca644
- Reset Hover: #ffcd94
- Keyboard Colour: #37bdf7
- Keyboard Hover: #B1F0F7
-
Fonts: List the fonts used in your project.
- Main font: Nunito
- Header font: UnifrakturMaguntia
-
Images: All images were designed and created by Jo. The designs are aimed towards kids to provide a fun and interactive experience.
- Difficulty Levels: Easy, Medium, and Hard with varying word complexity and attempts.
- Interactive Keyboard: Clickable on-screen keyboard to make guesses.
- Text Entry: Option to type guesses via a text box.
- Animations: Floating burger and cat animations to enhance gameplay.
- Hint Feature: Reveal a letter to assist with challenging words.
- Score Tracking: Tracks wins and losses.
- Reset Option: Restart the game at any time.
- Responsive Design: Optimized for various screen sizes.
- Different image designs depending on level difficulty
- Count down timer which changes length depending on difficulty
- Animation for balloons popping
- Background images for better perception
- Multiplayer Mode: Add a mode where players compete or collaborate.
- Additional Levels: Include more difficulty levels or themed word lists.
- Leaderboard: Save and display high scores.
- startGame: Initializes the game by setting the difficulty, selecting a random word, and resetting game variables.
- setDifficulty: Sets the number of attempts based on the selected difficulty level.
- getRandomWord: Returns a random word from the word list based on the selected difficulty level.
- displayWord: Displays the current state of the word with guessed letters revealed and remaining letters hidden.
- displayKeyboard: Displays the on-screen keyboard for letter selection.
- handleGuess: Handles the player's guess from the on-screen keyboard.
- handleGuessText: Handles the player's guess from the text box.
- checkGameStatus: Checks if the player has won or lost the game.
- updateCatImage: Updates the cat image based on the number of remaining attempts.
- toggleHint: Toggles the display of the hint.
- showHintButton: Displays the hint button after consecutive wrong guesses.
- getHint: Provides a free letter hint to the player.
- handleWin: Handles the win scenario by updating the win count and displaying a popup message.
- handleLoss: Handles the loss scenario by updating the loss count and displaying a popup message.
- disabledDisplayKeyboard: Disables the on-screen keyboard after the game ends.
- Ai was used to generate the words for the game and hints.
- It was also used to bug check code when having problems.
- It was used to help create JavaScript functions.
- HTML5: For structuring the content.
- CSS3: For styling the website.
- JavaScript: For Game logic and interactivity.
- Google Fonts: For font styles.
- Co-Pilot: For code generation and debugging.
- Chat-GPT: For Q & A and code generation.
- favicon.io: For creation of favicons.
- Balloon pop sound Link