crookse / fork-crookse-s-oop_game-v2

Team Treehouse Unit 4 Project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

oop_game-v2

TeamTreehouse Unit 4 Project

This is Team Treeouse Project demonstrating:

  1. DOM manipulation
  2. Array iteration methods
  3. Refactoring and DRYing
  4. Event listening and handling
  5. Modulation
  6. Encapsulation

This application presents a game called Phrase Hunter. Upon starting the game, a phrase is hidden from the player. The player must choose letters on the webpage in order to correctly guess the hidden phrase. Upon 5 incorrect guesses, the players loses and may choose to play again. Upon fully revealing the hidden phrase, the player wins and may choose to play again.

  • Added functionality so player may use physical keyboard instead of on-display keyboard to play the game.

  • Added and styled an in-game message for players when they guess correctly or incorrectly.

Author: Sean Crooks
Contributions: Team Treehouse supplied all files except Phrase.js, Game.js, and app.js. These files were created and written solely by author.

About

Team Treehouse Unit 4 Project


Languages

Language:JavaScript 60.4%Language:CSS 22.3%Language:HTML 17.3%