Skip to content

jlaceda/word-guess-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 

Repository files navigation

Emo Bands Guessing Game

John Laceda - UW Coding Bootcamp Homework

Please put your name and any relevant info about the project, any bugs you've encountered, etc.

Hurdles

My main hurdle was sticking/thinking of a theme. Because of this there is no styling. :(

Game Object

I wanted the game object to not interact with anything in the Browser. So I took out any outside references to elements and console.

Word Object

I got the basic functionality earlier on then decided to use a word object and an interactive player later. The word object stores all info to assets for the player.

Misc

initially used this word list for play testing: https://en.wiktionary.org/wiki/Appendix:Basic_English_word_list#Things_-_200_picturable_words

Used this to help with replacing the blank in word display: https://stackoverflow.com/questions/1431094/how-do-i-replace-a-character-at-a-particular-index-in-javascript

Used indexOf everywhere: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/indexOf

Splice is used to get a random word from array of available words: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/splice#Remove_1_element_from_index_3

Math.random(): https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/random

Hopes and Dreams

If I was more focused and/or had more time I would do more:

  • add animations
  • progress bar for song playback
  • test and add mobile responsives

About

UW Coding Bootcamp Homework - Emo Bands Hangman

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors