random num generator #coding #programming #javascript #python

preview_player
Показать описание
this video is a fun take on creating a random number genrator
follow form more programming content specially in javascript , python , c++ , java and become skillful coder and developer

Don't forget to LIKE, COMMENT, and SUBSCRIBE for more tech comedy and insightful developer content!

#programming #coding #DeveloperLife#WebDevelopment #UIUXDesign #JavaScript #Python #Java #CSharp #Ruby #PHP #Swift #Kotlin #TypeScript #GoLang #Rust #Perl #HTML #CSS #Sass #LESS #SQL #GraphQL #NoSQL #MongoDB #Firebase #PostgreSQL #MySQL #Django #Flask #Spring #Express #Rails #ASPNet #VueJS #ReactJS #Angular #Svelte #NextJS #NuxtJS #Gatsby #TailwindCSS #Bootstrap #Figma #Git #GitHub #GitLab#Docker #Kubernetes #AWS #Azure #GCP #Heroku #Netlify #Vercel #Jenkins #FullStackDeveloper #SoftwareEngineer
Рекомендации по теме
Комментарии
Автор

I get the feeling someone thought this returned values like a d6, but it can return 7

MrMidjji
Автор

For family game night just hook up a microphone to the speaker and just yell into the microphone when it’s your turn to roll the dice.

upshiftgo
Автор

The average user in me is all like: *MIND BLOWN*

The nerd in me is all like: "Well, actually..."

Aikisbest
Автор

I swear this channel posts some of the best programming memes

morning
Автор

There is a slight possibility a 7 will be rolled.
Math.random() returns between 0 and 1.
So if it is exactly 1 then it will be 7.
Although the chances of this happening is extremely unlikely.

thoughted
Автор

const states = [1, 2, 3, 4, 5, 6];
let superposition = [...states];


function measure(state) {
return * state.length)];
}

console.log("Results:", measure(superposition));

HuahuaLee-mb
Автор

1 Way to Lag Your Browser (this works if you set the 100 to 1 or 10 or even quicker than that)

itzgametimevip
Автор

why take the floor and then add one? why not just take the ceil?

samuelcorbishley
Автор

Math.floor(Math.random() * (max - min)) + min;

rose_kit
Автор

FINALLY ! I understand....






It mean im a developper now ?

El_Akab
Автор

Thats tge most broken syntax ive ever seen

IlliaDubrovin
Автор

100ms? In reality, that’s also random, as you can see in the video 🤣

gt_bp
Автор

....just randint() wtf is all this necessary operation lol

Syokonono
Автор

blud that is NOT how you get a number from 1-6. You just need to use *Math.ceil(Math.random() * 6)* and max the results to be at least 1

GSFigure
visit shbcf.ru