Thank you, bro. I have learned in 2 days, more than I have understood in months, because of your unique style of teaching and then applying it in real work exercises immediately, this, is indeed, very very effective.
Day 1 of asking for react.js course:- Can you pls make a react.js course pls I learned java, js, py, html and css all from you because your course is best so can you pls make a react.js course?
Hey I’ve got a question about deserialization I’m hoping you can help me with. I have a couple an object that implements serializable and fields in there if custom classes that are also serializable. I have a UID for each class too. Now I want to update the structure by adding a field in one of the classes that is a JPanel. How do I update the deserialize method (loadGame) to handle the addition of this field? I’m having trouble finding my answer elsewhere figured I’d come to the Bro. Thx
So it's not apparent to me how you get this code to work in the first place. For reference, I'm in eclipse, started a new java project and typed char for char what you did and it just doesn't work. I see you're doing a js project in visual studio I think. How can I make this work in eclipse?
Here:) This works the same. document.getElementById("button").onclick=function(){ document.getElementById("dice1").textContent=Math.floor(Math.random()*6+1); document.getElementById("dice2").textContent=Math.floor(Math.random()*6+1); document.getElementById("dice3").textContent=Math.floor(Math.random()*6+1); }
Hey i know this has nothing to do with the Random Number Generator, but Im following your C++ Tutorial, and when I open a C++ File on Vscode, I get about 20 little command windows that pop up and close down. They all say MSYS2 MINGW32 Shell. Is this normal, or did something mess up?. When I run the code it appears to work just fine, but im not sure if those 20 or so windows are supposed to pop up and then close down
simple math.floor....+1 every outcome will have equal probability while in Math.ceil there will be a exception(the min number) example math.floor(math.random()*10)+1 implies values between 0 to
I've been asking myself if the video algorithm is right, and I'm gonna generate a lot of numbers, send to excel and make graphs to see the result by myself. And I suspect the right formula is the following: Math.floor( Math.random() * (max - min + 1) + min); This produces the same result as in the video because min is 1, but if min was another number the maximum roll would never happen
// RANDOM NUMBER GENERATOR
const myButton = document.getElementById("myButton");
const label1 = document.getElementById("label1");
const label2 = document.getElementById("label2");
const label3 = document.getElementById("label3");
const min = 1;
const max = 6;
let randomNum1;
let randomNum2;
let randomNum3;
myButton.onclick = function(){
randomNum1 = Math.floor(Math.random() * max) + min;
randomNum2 = Math.floor(Math.random() * max) + min;
randomNum3 = Math.floor(Math.random() * max) + min;
label1.textContent = randomNum1;
label2.textContent = randomNum2;
label3.textContent = randomNum3;
}
My website
roll
body{
font-family: Verdana;
text-align: center;
}
#myButton{
font-size: 3em;
padding: 5px 25px;
border-radius: 5px;
}
.myLabels{
font-size: 3em;
}
Thanks a lot sir🥰
Thank you, bro. I have learned in 2 days, more than I have understood in months, because of your unique style of teaching and then applying it in real work exercises immediately, this, is indeed, very very effective.
I think the thing multiplied to the floor function must be max - min + 1
Iam waiting for the React js series bro
Learn on your own bruh
Do you know lua? Would love to see a full lua course in the future. Also your videos are awesome!
Did you find something that teaches lua effectively
There's a CS50 focused on game development that uses lua as the main language
Bro teaches it so well. I turned pro overnight!
Hey bro since you have lot of videos on JavaScript already can you release more react videos, I think most of the people are waiting for react videos
Day 1 of asking for react.js course:- Can you pls make a react.js course pls I learned java, js, py, html and css all from you because your course is best so can you pls make a react.js course?
Hey I’ve got a question about deserialization I’m hoping you can help me with. I have a couple an object that implements serializable and fields in there if custom classes that are also serializable. I have a UID for each class too. Now I want to update the structure by adding a field in one of the classes that is a JPanel. How do I update the deserialize method (loadGame) to handle the addition of this field? I’m having trouble finding my answer elsewhere figured I’d come to the Bro. Thx
So it's not apparent to me how you get this code to work in the first place. For reference, I'm in eclipse, started a new java project and typed char for char what you did and it just doesn't work. I see you're doing a js project in visual studio I think. How can I make this work in eclipse?
please keep doing the react tutorials ❤
Can we use trunc() instead of floor() to eliminate decimal portion?
Here:)
This works the same.
document.getElementById("button").onclick=function(){
document.getElementById("dice1").textContent=Math.floor(Math.random()*6+1);
document.getElementById("dice2").textContent=Math.floor(Math.random()*6+1);
document.getElementById("dice3").textContent=Math.floor(Math.random()*6+1);
}
Thanks
This is my seal. I have watched the entire video, understood it, and I can explain it in my own words, thus I have gained knowledge. This is my seal.
Hey i know this has nothing to do with the Random Number Generator, but Im following your C++ Tutorial, and when I open a C++ File on Vscode, I get about 20 little command windows that pop up and close down. They all say MSYS2 MINGW32 Shell. Is this normal, or did something mess up?. When I run the code it appears to work just fine, but im not sure if those 20 or so windows are supposed to pop up and then close down
I have completed your 8 hr js video, please make some videos on fetch api like get post, delete and create
Daddy Brocode teaches me lots
how did u comment 5 days ago but the vid got posted an hour ago? is this a glitch?
@@natnaelabayneh7664 I watch his tutorials daily and keep a close eye on his channel, I saw the playlist release.
❤❤ Awesome, please more react videos
you should accecpt islam bro your talent is a gift from Allah
He is a real king.
Full Kotlin course?
First! But thanks for the tutorials.
Thanks, bro. You're a real bro 💪
Bro code can you work in problem solving by java
Hey Broo!! Teach us Node JS Please?
1:13 oops !
Im very grateful to u bro
is there a specific reason why Math.floor........... +1 is used for RNG, instead of Math.ceil ???
simple math.floor....+1 every outcome will have equal probability while in Math.ceil there will be a exception(the min number)
example math.floor(math.random()*10)+1 implies values between 0 to
I've been asking myself if the video algorithm is right, and I'm gonna generate a lot of numbers, send to excel and make graphs to see the result by myself.
And I suspect the right formula is the following:
Math.floor( Math.random() * (max - min + 1) + min);
This produces the same result as in the video because min is 1, but if min was another number the maximum roll would never happen
ceil works when min is 1 and you multiply the random number by max. but you'll realize that to make the formula more generic you'd have to use -1 😅
Cool channel.