Christmas-Tree
Christmas-Tree copied to clipboard
Singing Christmas Tree, implemented in javascript.
Christmas Tree
Introduction
This simple javascript file, the source of which looks like "Christmas Tree", during execution does the following steps.
- Checks the x.mp3 file's existence in the source directory.
- If it exists.
- Skips to step 4
- else
- Executes step 2
- Downloads the Jingle Bells Remix.
- Saves it as x.mp3.
- Checks the operating system.
- Turns the volume of your machine up to 100%.
- Plays Jingle Bells.
- Code reads and draws itself line by line.
Install
$ git clone https://github.com/SurenAt93/Christmas-Tree.git
$ cd Christmas-Tree/
$ npm i
Usage
$ node rc.js
License
MIT