In the world of OOP (Object-oriented programming), the previous ways of defining an object is too limiting in many situations. There was a need to create an object "type" that can be used multiple times without having to redefine the object every time to meet each particular instance's requirements. The standard way to achieve this goals is to use the Object Constructor function.
Technologies used:
- Node.js
- JavaScript
- JavaScript Object Constructors
- npm packages:
inquirer,prompt,chalk
How to Run Nic Cage 'Constructor' Word Guess Game:
- Type
node main.jsinto your terminal/bash window. - Enter a singular alphabetic character and hit return.
- You have
9total guesses. - If you complete the game successfully, you will be prompted to key down ⇣ or up ⇡ to:
- Play another round
- Exit

