Git Product home page Git Product logo

hangman-game's Introduction

Hangman-Game

The third homework assignment

Live Link

https://yoonslee.github.io/Hangman-Game/

Description

  • Simply begin typing to enter your guesses
  • You only have 5 guesses until the current word is cleared and the next one is loaded
  • Your wins and failed attempts are recorded

Requirements

  1. Create a hangman game that inputs key presses from the user
  2. Track guesses and number of wins
  3. Win result in an increase in the win count and both wins and losses result in the loading of a new word

Technologies Used

  • HTML/CSS
  • JavaScript for DOM manipulation
  • Web Fonts (from Google Fonts)
  • TypeIt for visual effect
  • jQuery for visual effect and TypeIt requires it

Code Explaination

  • Basically, the meat and potatoes of the code is in the JavaScript file (game.js), where the variables and game logic is stored
  • The HTML sets up the basic elements of the game such as the title, pictures and audio, text elements indicating progress and points, etc.
  • The CSS is really the visual aspect of this project, giving the colors and margins, etc. Flexbox was of enormous use in the project (particularly in customizing the scaling of elements)
  • External web fonts, audio, and visual effects were added to spice things up

hangman-game's People

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.