Technologies Used:
- HTML5
- CSS3
- JavaScript
- JQuery
- Bootstrap
Instructions:
- This game is a trivia game with the added competitive twist of making the setting a job interview
- The “Interview” is specifically for Web Developers, offering 3 different "positions" (difficulty levels)
- Two highly-qualified candidates will go head to head in an intense round of interview questions asked by the company's CEO
- Each Candidate will be asked 10 questions
- Correct answers = +1 point
- Candidates will alternate turns, regardless of a correct/incorrect answer
- The interview will come to an end after both candidates answer their 10 questions
- The Candidate with the most points will receive a job offer
Challanges:
- CHALLANGE: Trying to move through the questions while having specific actions happen after each question-
TRIED:
- for loop - didn’t work
- Prompts - didn’t work
- SOLUTION: creating an increaseQuestion method with a variable for nextIndex
- CHALLANGE: Alternating player turns and having the points counter recognize each player-
TRIED:
- Two separate question arrays - didn’t work
- SOLUTION: creating a nested if/else statement, alternating true/false per player after each submission
Future Add-Ons:
- Responsive Web-Design
- Add Mid-Level and Senior-Level Questions
- Add a timer, 10 seconds to answer each question
- Add a feature to “steal” candidate’s question if answered incorrectly or time limit exceeds with no answer
- Add a tie-breaker rule, sudden death questions
- Improve certain UX aspects
Instructor Feedback:
-
Successes-
- Met all criteria required for game:
- Winner/Loser
- 2 Players
- Deployed
- Can play game from beginning to end
- Good balance bettween focus on design and functunality
- Good "game plan"/organization of the process
- Met all criteria required for game:
-
Areas of Opportunity-
- Organize your JS more:
- Declare your functions on a seperate JS file than your logic
- Avoid declaring functions inside of the logic, only call the functions already created
- Organize your JS more: