To provide the best experiences, we use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
The technical storage or access that is used exclusively for statistical purposes.
The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
Wouldn't it be simpler to make it in python?
@Tech With Tim there are only 2 A’s overall and we need at least 3 to win a bet. Finest way of saying you always end up loosing money in betting,😂
this tutorial sucks ass
Am learning the workflow of programming in js, this project has given me a good basic stracture of what i should expect and do, I enjoyed this project and liked the results. Keep them coming. Thanks
Today, you are going to be learning JavaScript by completing a project with me. I will explain all of the syntax, what it does and how it works. I will be also explaining to you how to structure your code, bests practices and lots of useful tips that you wouldn't get in beginner tutorials.
17:09
17:49 part 2 – get user's number of lines – & collect bet
21:06 part 3
30:31 pt 4
37:07 columns reels
30:02
24:14 game
Title should be revision of JavaScript since It's more of a crash course.
Can you make it with html and js only not with node.js
As a 146 year old Tibet monk that video really helped to get one step closer to a first functioning website for our monastery.
[{
"message": "'const' declarations can only be declared inside a block.",
that is my problem
thankyou sir , we want more videos like this
i don't know if someone mentioned it already or not but while checking for deposited amount you should include "parsedAmount.toString !== Amount.trim()", in the if condition like =>> "if(isNan(parsedAmount) || pasrsedAmount<=0|| parsedAmount.toString() !== Amount.trim()), this handles cases such when the amount is of the form "1000dsdf" which is number with characters.
how to build a machine learning app using python and mern or flask of django
can you suggest good keyboard for programming , specificly for typing
The project is very impressive. Can you please create this same project with frontend html , css and js?
we have append in javascript too..
27:27
The minimum deposit money should be "NumberOfLines" units… you cant escape the loop if you start with 1 unit deposit and select 3 lines to bet.
To whoever had trouble understanding the random number selector, here's a comprehensive explanation:
Math.random() will give us a number between 0 to 1
here 0 is inclusive and 1 is exclusive
what this means is the number could be 0, 0.1, 0.2, 0.3, ……, 0.99999 maxx
so multiplying it by the length let's say it's 10
would give us a range from 0 to 9.9999 inclusive
now the number could be 3.6 etc but the index is only a whole number
so the Math.floor() function will effectively remove the decimal part or can be interpreted as shifting the number to the lowest whole number:
9.9 -> 9
3.3 -> 3
4 -> 4
0 -> 0
0.1 -> 0
0.999 -> 0
since indices start from 0
an array with 10 elements would have range 0 -> 9
and the random number expression would also have range 0 -> 9