Skip to content

A game built in JavaScript. Figure out the word before you run out of guesses!

Notifications You must be signed in to change notification settings

nvsmith/guess-the-word

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. Roadmap
  5. Contributing
  6. License
  7. Contact
  8. Acknowledgments

About The Project

This is a game built with JavaScript that implements:

  • Async and callback functions.
  • Fetching data from a hosted file.
  • Parsing data as Text.
  • for...of loops with conditionals.
  • Click event handlers with conditional statements.
  • Creating and appending HTML elements.
  • Adding and removing CSS classes.
  • RegEx validation.

Try to guess the word before you run out of attempts! Type in a single letter at a time, and watch as the game keeps track of your guesses and updates what you see on screen after each round, counting down until eventually you emerge victorious or admit defeat. Either way, hit the reset button and try your luck again.

screenshot1 screenshot2

(back to top)

Built With

  • HTML
  • CSS
  • JavaScript

(back to top)

Getting Started

This web page was crafted with vanilla code. No dependencies here!

Prerequisites

All you need is a browser (to view/interact) and a text editor (to modify).

Installation

  1. Clone this repo and you're all set!

(back to top)

Usage

  • index.html: structure and layout.
  • styles.css: design and aesthetics.
  • script.js: functionality.

(back to top)

Roadmap

  • Difficulty level selection
  • Scoring system
    • Fewer guesses = Higher score
    • Score display

(back to top)

Contributing

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement".

Thanks for playing!

(back to top)

License

Distributed under the MIT License.

(back to top)

Contact

Nate: GitHub | Grepper

(back to top)

Acknowledgments

Skillcrush - JavaScript Fundamentals

README Template

(back to top)