John Laceda - UW Coding Bootcamp Homework
Please put your name and any relevant info about the project, any bugs you've encountered, etc.
My main hurdle was sticking/thinking of a theme. Because of this there is no styling. :(
I wanted the game object to not interact with anything in the Browser. So I took out any outside references to elements and console.
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.
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
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