diff --git a/script.js b/script.js index 3df1217..dd4b3b3 100644 --- a/script.js +++ b/script.js @@ -1,6 +1,32 @@ console.log("hello script js"); -var inputHappened = function(currentInput){ - console.log( currentInput ); - return "WOW SOMETHING HAPPEND"; +var secretWord = ["c", "a", "t"]; + +var tableFlip = ["(", "╯", "ರ", " ~ ", "ರ", ")", "╯", "︵", "┻", "━", "┻"]; + +checkArr = []; + +function userGuess(letter) { + if (isNaN(letter)) { + var i = 0; + while (i