@ikhlasbano/oopbasics-task
v2.0.0
Published
The Zodiac Sign and Temperament project is a command-line application built using TypeScript that utilizes Object-Oriented Programming (OOP) concepts. It allows users to determine their temperament based on their preference for socializing or solitude and
Downloads
3
Readme
Zodiac Sign and Temperament
The Zodiac Sign and Temperament project is a command-line application built using TypeScript that utilizes Object-Oriented Programming (OOP) concepts. It allows users to determine their temperament based on their preference for socializing or solitude and discover their zodiac sign along with compatibility with another zodiac sign.
Features
- Temperament Assessment: Users can input their preference for socializing or solitude to determine their temperament.
- Zodiac Sign Identification: Based on the user's birth date, the application calculates and displays their zodiac sign.
- Zodiac Compatibility Check: Users can input another zodiac sign to check compatibility and receive insights into potential challenges or compatibility.
Installation
- Ensure you have Node.js installed on your system.
- Clone this repository to your local machine.
- Navigate to the project directory in your terminal.
- Run
npm install
to install the required dependencies. - Start the application by running
npm start
.
Usage
- Upon running the application, you will be prompted to enter your preference for socializing or solitude.
- After providing your temperament preference, you will be asked to enter your name.
- Following that, input your birth date (day and month) to determine your zodiac sign.
- Optionally, you can input another zodiac sign to check compatibility with your own sign.
- The application will provide insights into compatibility based on the provided zodiac signs.
Technologies Used
- TypeScript: A statically typed superset of JavaScript that compiles to plain JavaScript, adding support for OOP features.
- Inquirer.js: A command-line interface library for interactive prompts, used for user input.
- Chalk: A terminal string styling library for enhancing the visual presentation of the application.
Contributing
Contributions are welcome! Feel free to open issues or submit pull requests to enhance the Zodiac Sign and Temperament project.
License
This project is licensed under the MIT License. See the LICENSE file for details.