This project is written with only JavaScript and I followed the instructions step by step from Tim on his YouTube channel along with commented lots of things in my .js file. Here are what you will get from this project:
- Create a fun game to play!
- Create simple functions in JavaScript
- Create for and while loops in JavaScript
- Practice logical thinking (design the function of the game)
YouTube video from Tim With Tech: JavaScript Project Video
Original code from techwithtim: JavaScript Code
Please make sure that you already have Node.js installed.
You can check it by opening your terminal and type node -v
or npm -v
- Clone the repository of this project, open your terminal and run the following command
git clone https://github.com/wilawanpond/lucky-charm.git
- Install dependencies by
npm install
- To start the game, run the following command
node project.js
- Have fun with the game!
If you would like to submit an improvement to this project, please submit an issue using the issues tab first (in detailed explanation must be nice) and if you would like to submit a pull request, please reference the issue you created 🦭