Skip to content

Latest commit

 

History

History
45 lines (26 loc) · 1.22 KB

README.md

File metadata and controls

45 lines (26 loc) · 1.22 KB

js-gambling-project

This project is a JavaScript-based gambling game that I developed while following along with a tutorial by Tech With Tim on YouTube. Through this project, I have learned and practiced many fundamental concepts in JavaScript and Node.js. Features

Command Line Interface: A simple and intuitive CLI that allows users to interact with the game.

Game Logic: Core gambling mechanics implemented using JavaScript.

Randomness: Utilizes JavaScript's Math.random() function to ensure fair gameplay.


What I Learned :

JavaScript Basics: Variables, functions, loops, and conditionals.

Node.js Basics: Setting up a Node.js project, using require and module.exports.

CLI Interaction: Handling user input and output in the terminal.

Debugging: Identifying and fixing errors in the code.

Project Structure: Organizing code into manageable files and functions.


Getting Started :

Clone the repository: git clone https://github.com/coding-with-lounas/js-gambling-project.git

Open the project directory: cd js-gambling-project

Install the dependencies: npm install

Run the game: node project.js


Resources :

Tech With Tim - Gambling Game Tutorial