Using A.I. to DOMINATE NERDS in TETRIS
Вставка
- Опубліковано 12 вер 2020
- I created an AI which can play Tetris at 50 moves per second, now lets use it to play against other people. Huge thanks to Brilliant.org for supporting this channel, check them out here: www.brilliant.org/CodeBullet
Twitter: / code_bullet
Patreon: / codebullet
Discord: / discord
Art created by @Dachi.art / dachi.art - Наука та технологія
“There are no nerds in singleplayer mode”
oh I think you’ll find at least one
Fuck I’ve been found out. Sprints are the best part of Tetris anyways.
^Win! XD
At least 10
R/TechnicallyTheTruth.
R/murderedbywords
"We are gonna bully nerds"
Bullies himself by coding for few days.
Well he did achieve what he set out to do...
Ooof
1 and counting then..
LOL I read that the same moment he was saying it
Oh the irony
21:16 I love how he call them nerds like he hadn't spend the last 2 weeks programming an AI to play tetris
..bad AI 😂 and using as he says, not much programming either
29:05?
🤓🤓🤓🤓🤓
We don't talk about that
Nerd vs. Nerd, Tetris style
20:07 For those curious: Multiprocessing is just when you divide tasks up between cpus so you can do more work in parallel, rather than the default that can only do one thing a time. For example, if you're peeling potatoes, it's faster to have two people doing it than it is to have only one.
My sources say no
@@user-wx6ms9rv2m??
To add more to the analogy, multiprocessing usually dedicates one core to be the taskmaster
One core isn't dedicated for working, theyre dedicated for relegating work
CB, The UA-cam algorithm counts beeps as "mild profanity" so you need to mix them up with random sounds instead
Comment needs bumped.
Bumping your comment
He should use the screams of his walking learn ai thingy
Cheers fellas
Bump*
when a indie Tetris game has a better banning system than AAA games
(*Cough Cough*) tf2 (*Cough Cough Cough*)
(*cough cough*) VAC (*cough cough*)
Damn there is a lot of coughing. You guys might want to get that checked out with covid going on.
(sneeze sneeze) Hypixel (sneeze sneeze)
@@SlightSmile problem is, detecting cheaters in Minecraft us much harder than a simple 2d game with blocks.
Randomizing the intervals between moves could help evade the bot detection. Only a computer will make every move exactly 0.1s after the last, but creating a random interval would make it seem more human-like.
Can we give Damber the respect he deserve? I mean he just kick the ass of an AI made to kick ass in tetris
Legend
E
Yeah that dude was inspiring
@@EEEEEEEE E
@@EEEEEEEE E
When I was a kid I told my dad I wanted to make a robot to do my homework. My dad replied "well wouldn't that be more work than just doing it yourself" I though of that the entire time I watched this video
Which is dumb logic because building a bot would be more laborious but ultimately would teach you WAY more useful skills than the actual homework would.
The lengths I go to specifically not do something sometimes terrify me.
Its more of a long term investment
You do hard work in for a month maybe instead if medium to hard work over the span of 8 years
Wut. If you build the bot in a few days that says you an ungodly amount of time and you can sell it.
@@shadowfall2011
But thats also a dumb logic because if you're able to build an automate homework robot then you already have little left to learn in term of technicality, it will only gives you experiences or maybe a niche tips/trick (for a very specific field).
And unless you wanted to be an expert on that very specific field, that math problem might've actually been more useful long term.
Like the education system are not the best it could be, but surely its better than robot building for a learning exercises of an underage children.
I even humor the thought of an everage kid being able to build a homework robot without prior knowledge of coding or engineering.
The more you applied logic to it the more confusing it gets.
"Hm, ok lets go easy on this guy."
>loses.
"Ok, we can go slightly faster now. And by that I mean FULL THROTTLE."
*still loses*
As someone with a friend who's like, a Tetris grandmaster, if that's a thing, I support this message
in which game? TGM1, 2, or 3?
@@NOT_A_ROBOT I'm not sure tbh
@@apriljones1013 why don't you go ahead and ask?
Are they X rank?
How is he so good in one hour of play time? Its not like there's a million different versions of tetris that someone could've learned on before playing jtris
“Beating nerds by being a bigger nerd.”
Theres Always a bigger fish
Like a gyridos
GeekyGamer or my mother
Definitely one of the nerdiest things I've heard all along 😂
Asserting dominance
Ah yes, the ancient mathematical formula: AI + Tetris = cyberbullying.
don't forget about views = YEEEEEEEEEEESSSS
@@dummi2673 The pyothongorean theorem
Momento Mori. Unus Annus, my friend.
Unus?
It is not AI
Never ask:
A woman - her age
A man - his salary
Code Bullet - why he hates coriander so much
Just use celery instead
It tastes like soap, thats why
@@snipermonkey3428 Please stop eating soap, it’s not good for you
@@epicy0shi737Would be easier if someone quit putting it on our damn tacos >:(
All kidding aside it’s a genetic thing, look up the coriander gene if you’re curious. Having it really makes me realize how many cultures use it in massive amounts in their food
I don't think the bot detection would have detected you because you didn't clear anything. You were just slamming the down key- which everyone had done in a fit of Tetris rage.
Lol.
Also, close to 57 likes !!!
So essentially, you're beating nerds by being a bigger nerd.
Ye
@@stromegy5792 ... ur name is.... i dunno it disturbs me.
Big fish in a moderately large sized pond
@@user-pc7yj7pl6c what disturbs yo
@@stromegy5792 um plz dont be offended but its similar to one of the fakest UA-camrs of all time..
It's possible the Bot Detection doesn't actually auto-ban people, but rather alerts the mods for them to manually review it. So after the bot detection detected you, you had some time before you got banned.
Manually doing it seems wildly inefficient though.
ike
a
aaa
momnke
@@glodmod6610 not as much as you think, you need only see a minute before you can see
I think it bans the device MAC address. When he changed computer it worked.
@@glodmod6610 but atleast the bans will be legit, unlike some other game that i play alot..
plot twist, theres no bot detection. just a report button and the real nerd is the guy not being paid but still sitting there 20 hours a day banning people while watching code bullet videos for some fun.
Shoutout to Tommy for fighting til the end despite a winning chance of zero, he's a real man
8-ball: the answer is no
Code bullet: wow this is a strong message
WAH GRAPE
GRAPEEEE
I will sacrifice my life for bullet
NO ONE WILL HAVE CARROT
I LOVEE PAKISTAN
CB: "Let's bully some nerds!"
The nerds: "Hippity hoppity *get banned loser* "
CB: "Hipitty hoppity *oh wait, I have another PC*"
Smarter nerd:
“Ahah, ahahahahahhaha!”
“You fool!”
“ I have 70 accounts!”
Later in 5:11
"You dumb Con
Caden Campbell “I have 17 alternative ACCOUNTS!”
It may take me days, it may take me weeks, months, or even years, but I want you to know that I've been interested in coding for years, and I think because of you I am actually going to start following my dream and actually start coding and creating my own things.
How’s the progress going?
Fun fact which you will know if you watched the Tetris movie: the original Russian prototype for Tetris used the same display as what the AI sees in game. It used brackets.
Asking an Australian to not curse is like asking a raging alcoholic to not drink
Or like asking an Australian not to drink..
Or an irish
Or not to beat their wife and kid
As an Aussie I can confirm this
@@bobjones2294 Don't appreciate that.
“There ain’t no nerds in single player mode”
Technically there is it’s just reduced to only being 1
Ooof
Ooof
Ooof
Ooof
Ooof
Now you gotta write a bot that intentionally stays just *barely* ahead of the opponent
Oh now that's truly evil, if you speed up, it speeds up, perpetually locked in a ceaseless flurry of moves until out of frustration you decide you cant win and give up.
What a sinister and twisted mind you have my Goodman.
Man I love the energy in your video ssoooooo much. And you can keep realising a video every 6 month, a lot of people know how tough life can get ;) all my support, from a french fan ^^
"...And instead of Googling it and doing some research, I'm just gonna make some assumptions and probably regret it later."
Same.
Words I live by
150th, yep. Me trying to understand neural network stuff in a nutshell
Calling it now, this video is gonna get demonetized for him saying “We’re gonna BULLY some nerds”
Flat out deleted lol
@@Drion086 I do
Good there were like 6 ads for me on mobile
I'm rewatching this, when I hear this for the first time 4:25 - "I'm getting ahead of myselves" -
Code bullet confirmed an AI
The fact that using a different computer works means if you used a Virtual Machine, you could endlessly bypass bans.
theoretical person: You're the worst coder I have ever heard of.
CB: Ah!, but you've heard of me!
Lol i can't believe that got me! 😂
(c) Jack Sparrow
Code Bullet: "I don't really know how bot detection works, and instead of googling it and doing some research, I'm just gonna make some assumptions and probably regret it later."
Me: checks length of video... oh no...
This is gold! Good luck on your future projects. Can't wait to see the next one!
0:49 is my favorite moment of all time
sauce is limebot made by limebreaker
"were gonna have to use python"
Proceeds to show a pic of a cobra
Thank god I wasn’t the only one who noticed lol
Pfp checks out
599th, lol
Used to be my profile picture
@@kro9217 until you took an arrow to the knee
"There are no nerds in single player mode."
"There is no war in Ba Sing Se."
also no one asked for you to reference anime
Yeah no one asked you to reference stupidity stylus
Imagine thinking avatar is an anime
@@deki9827 I FELL FOR IT!
DAMNIT
@@Unknown-vp2vt no one asked you to exist, but here you are. Also it's not an anime.
Honestly there's a part of me that repeats "cheating in online video games is wrong" but the other one seems strong enough to make me laugh at how the AI wacks the other players lmao
I love watching your videos stoned, things are explained enough that I can follow along, and you do these long gags that I think are hilarious
"some call me Australian Pyrocinical"
Well that seems a bit mu-
"So let's bully some nerds"
Ah. I see. That's fair.
He also has a tv head character
Excuse me code bulet is bullying, pyro Game ends
at least he's not a furry, or british
Catnip what’s wrong with Britain
@@epicgamer-gf2cy -- Apparently that it's full of Britons.
"There are no N E R D S in single player mode"
There is one...
I feel attacked~
Not when he's not even the one playing the game
@@BattleFlyNate
Aye, fair enough
Diana Kurosawa the nerd is himself, you didnt get the joke fam
Oooh, burn! *hits CB with an umbrella*
L to the guy who called him out in the end.
The first minute was the fastest subscription UA-cam has ever seen. Congrats on a god tier video
14:04 As a woman who studies computer science, I can confirm that we, in fact, do not exist.
As a male, I have the honor of being among the 85% of the student body at my STEM College
I knew it!
wq cool, but how is that related?
As someone who knows a female in Computer Science, I can confirm that she is, indeed, a part of the programming and isn't real.
As a woman who just got a degree in Computer Science, I can confirm my last four years were just a dream
Call police, Nerds started bullying themselves.
Didn't they always do that?
Those "booms" at the start of the video were funny bcuz tetrises areN'T the most powerful line clear, since Tetris DS, the most powerful line clear were T-spin triples, since tetris axis/deluxe/party, the most powerful line clear is the Perfect/All Clear
I was kind of tearing my hair out when he was talking about how inconsistent soft drop is--you can change it to instant, it doesn't take much searching around the settings to find
*friend request
code bullet: why do I hear boss music
“My computer can only run about 16 players at a time”
Get this man more computers
Yes. He’s super irresponsible with A.I. And tetres
cuz he have too many AI in his computer, making his computer go: im going to be an old man
1000th like.
E
He needs Lets Game It Out's computer.
13:59 is hilarious "maybe the rumors were just myths bot detection maybe a wife's tale like Santa Claus or woman in computer science"
love ur work and ur personnality
This is exactly what programming was invented for.
Cant think of anything else it could be used for
Objectively wrong
@@gyphryphobia nahhh thats sus
@@caide7005 no
@Nate Choe who?
Code Bullet: gets a friend
Friend: *ends his life*
This is why I don't have friends, to begin with.
@Firehornet Gamer same
Et tu Brutus???
relatable
which "his" ?
- gives himself the name "Not_Code_bullet"
- Someone recognizes him after he said he was gonna code a bot for this particular site
- Insert surprized pikachu
Maybe it's a stupid idea, but you could make the bot ignore the very right row until it's 4 squares high. After that it will place the next long piece in there.
Though the exception of this ignoring would be if the blocks are very close to the celling, so in order to prevent losing, it will try to remove a few rows without making holes until it gets a long piece.
Otherwise also making a priority to store long pieces over storing normal pieces, unless the next upcoming piece cannot be placed without holes
I legit watched an entire movie trailer about a gunman thinking it was the intro to this video
Ayo givin him some good ideas ngl
What movie?
How much weed u smokin bro
@@Bruh4. I think it might be like the new hitman movie
I laughed so hard I nearly died 🤣😂
UA-cam needs to understand that CB isn't swearing, he's just speaking Australian.
yes. agree
Fuckin oath mate
Can confirm
im sorry this is an australian server you didnt swear enough
True
Hah, what a good sense of humor for the content. Brilliant, subbed!
"We need to use Python"
*shows a cobra*
*bilojist*
I can see the meme man now
@@masterofenbys4434 that's the joke
@@shupp6267 Meme man is the dyslexic mannequin that appears in the broken English meme
@@masamigameon yeah, stonks, helth, ponker, those ones. I know.
He could've used puppeteer.js on node to grab screenshots and press keys instead of rewriting everything...
"UA-cam doesn't have a sense of humour"
I've never seen something so true in my life
It used to have one, but then Filthy Frank ended
King Slay as in the era of UA-cam Frank was part of was the time when UA-cam was at its funniest, and it’s only been declining since then. Especially with the demonetization
This man is my programming inspiration
This is one of the funniest youtube video I’ve ever watched. Dude is hilarious
The title should be: “Alpha nerd bullies inferior omega nerds”
He kinda bullies himself with the amount of time he spends doing this shit.
He could make something simpler for once. For example, two AI playing for their lives on some competitive game and the one that loses gets turned off.
@@TechSupportDave It would only be interesting if you could get the AIs to cry like legit omega nerds though, and that's a lot of work.
@@TechSupportDave im stealing this idea and tweeting this to michael reeves
Im nust glad he bullies nerds with standard mey pointz
@@nerocladius4319 I'd be lowkey hurt if he took the idea and you didn't credit me.
but only lowkey.
Ok, but the fact that the guy is like "let's have a chat" and then just insta banned you
yeah that's lame AF
It's like the falsy nice guy who intercepts Casino cheaters ! "Let's have a talk in this little shady room "
@@Hirosjimma You have clearly never played minecraft HCF. They freeze you, give you 2 minutes to go into teamspeak, and if you don't admit to cheating, they look through your computer to find cheats.
@@figboot >they look through your computer
Uhhhhh ex fucking scuse me? That's like... Holy shit that's shady as fuck
@@SignalRaptor_ Oh yeah, not only that, the most popular screensharing tool (detects cheats automagically in screenshare) is owned / developed by someone who also makes cheats. Guess what one client that screenshare tool doesn't detect?
Love your work my friend. Some of the best shit on UA-cam.
when you fight against someone in tetris with the most perfect bot ever
and he hangs in there for 17 rounds
*Guilt++*
"bot detection" aka: the fact your opponents have eyes
yeah, i was thinking the same. the ways he got banned seemed human driven. if they have a "report opponent" button and and a "cheating" option, you have bot detection, then you just need a reviewing person/algorithm and you're golden.
Remove their eyes
Also the fact that he named himself “not code bullet” lol
@@frederik7338 I was thinking that, but I also figured he wouldn't play against random people if he's obviously using a bot. I assumed the opponents were people who volunteered to help out for the video.
@@B3Band you expect Evan to have reasonable ways in sight? his learning has not led him to that sound thought :)
The person who friended him just to ban him: jaBAITED
27:06
Jokes on him, it gave him the perfect segway to announce the sponsor
@@emeraldfinder5 imagine it was raid shadow legends
@@appletizer8415 raid shadow legends use code dudemanguyman for free 1m gems and free ssr hero yeah
Such an arsehole xD
Pros play at 5pps average and they apm (lines sent/attack per minute) is HUGE and can go over 100
edit: speed world record is about 8pps (pieces per second)
the CB on your t-shirt not only means code bullet, but it also stands for cyberbullying
"I'm a simple man"
2 seconds later
"I WILL COMMIT MULTIPLE FELONIES"
who wouldnt
I mean a simple man would commit multiple felonies to be fair
Yoshikage?
@@cameronscott9399 i dont speak asian
its all fine as long its not pushed :)
"some say I'm an australian rip off of Pyrocynical"
*he's beginning to believe*
Is this a crossover episode?
Petscop 2 confirm
obvio
5:56 Big Money WIN
ua-cam.com/video/z6-uJd6eyak/v-deo.html
25:30 He's like "OH SHIT GOTTA GO FAST"
CB:watch my video or I will leave for 3 months
Also CB: leaves for a year
The lord has rewarded me for staying up till 5 am
Only 10pm for me man
Wait its 2 pm
It's 2 pm for me
Its 3pm for me lol
Its 1:17 pm for me
“Is a website where players battle to the death to decide who wears the most talented neckbeard of all time”
*Yo chill codebullet plz*
Hurts because it's true, *lmao.*
Such a simple video, great laugh as always
That moment when a multiplayer Tetris indie browser game has better bot detection then most big-company games.
That's scarily true. This bot detection software very clearly did not take very long to code. And it works!
This means that all my bot and hacker suggestions for games were indeed VALID! The simplest detection really is the best detection.
If anyone's interested, my usual cheat detection suggestions include just overall identifying things that normal humans would not be capable of. For example (an example of many), in FPS games, 100% accuracy throughout an entire game is statistically improbable with X amount of kills, or a K/D ratio that's never been reached. This is when the player should be put on a watchlist and reviewed by a moderator, or just outright banned if his statistical values exceed what normal humans are capable of.
This is actually an extremely basic and reliable system that wouldn't take more 10 maybe 20 mins to code. Maybe under an hour if it's to record and send the clip to a moderator to review.
And you can't exactly get around that I don't think, since stats usually are stored on servers.
OH BUT WAIT A MINUTE. THERE'S AN EVEN SIMPLER SOLUTION! someone: "Whuts thut cereal-san?"
AND HERE I SAY: A FUCKING WORKING REPORT BUTTON. SO MANY FUCKING GAMES JUST HAVE THE REPORT BUTTON THERE FOR NO REASON. A community-based banning system is literally the best thing there is.
EDIT: WHY THE FUCK CAN COMPANIES MAKE ENTIRE GAMES BUT NOT GET THE MOST SIMPLE AND IMPORTANT THINGS RIGHT?
I eat Cereal with Water and I pour the Water first damm....
Spooky Shadow same here, except I substitute water for air
edit: just realized that’s the person’s name and not what you were saying 😅
Team Fortress 2
Elliana Grant Lol
Hackers in the movies: WORLD DOMINEENATION!
Hackers in real life: VIDEOGAME DOMINEENATION!
Code Bullet is the only thing on youtube that makes me laugh
Because I care and want to share: here's multiprocessing.
Remember how CB said he's checking every possible spot to put down a piece and giving it a score? There's two ways to go about doing that checking - serial and parallel.
Serial, you have one thing doing all the work, working through each individual option, doing all the math for each option, grading it, and putting the grade in a pile to be sorted. It worked fine for the old algorithm because it was relatively simple... but as the complexity increased, so did the processing time, to the point where it wasn't feasible.
Enter parallel (aka "multiprocessing"). These days, computers have more than one part to their CPU - what people like to call "cores". Here, we have multiple things working in parallel to make the work go faster. Think of the phrase "many hands make light work". Because each check can happen without influencing the other checks, all checks can be performed effectively simultaneously.
For the less computationally-minded, I offer this. Which is faster: you alone eating 100 apples, or you and 99 friends eating one apple each? Not including time spent gathering friends, or regretting going through an apple-eating contest. That is what CB means by "multiprocessing".
well explained
You explained it reaally well
It's a fucking shame games don't make use of the multi core processing really.
@@Earthboundmike some do but that's really hard to do because it introduces problems like data races. And also when the thread grabs some data a few ns later that data may change which can cause problems.... lots of problems
Multithreading also works like that, it spreads over the CPU threads instead of cores, they can be queued to execute stuff after a thread finishes its job, wait for a specific thread to finish working to continue, put a thread working in the background to do a big/long job while other threads continue working the main jobs.
It really helps but makes the programs more CPU heavy since it uses more resources.
CodeBullet: *Spends literal weeks coding AI*
RiceL123: I’m bouta end this mans whole career
How to spot an Asain.
Step 1: Go on any video game that requires some form of an algorithm
Step 2: Read usernames until you either find rice or noodles in it
Step 3: ???
Step 4: Profit
Ah, love that outdated comment format. How original.
seriously that was so annoying, cant you just let him record the video, ugggh
MichaelEpicA as much as i like the video what CB is doing is basically hacking. Like those hackers you see in pubg or fall guys
@@fangslash I wanted him to ruin the days of 40 people all at once. Lol
23:31 you made me burst out laughing XD
Maybe you could help circumvent the bot detection AND increase the nerd rage of your victims by having your AI monitor your opponent's progress and make its own game juuuuuust that little bit better, so that you always win by just a teensy little bit ;)
Alternate video title: "Nerd bullies himself in a video about bullying nerds with AI"
R/Kamikazebywords
Oof
@@rooon_a found the mobile user
@@bruhwtf2662 Good job
I live by this quote - “Instead of spending a day doing it manually, spend a week making it automatic.”
Edit: Thanks for the likes :)
On Blargbot, I spend a day to make it automatic, a week to add more features than just automatic.
Well, sometimes I'd rather spend a week doing fun programming problem-solving than a day doing boring busywork.
Modded Minecraft players do the same.
7:47 reminds me of "Outside In"
@22.29 Rock solid plan and I loved it... For a time.
"bot detection might just be an old wives tale, like Santa Claus or women in computer science"
-Code Bullet 2020
Tommy91504: "Hes not hacking, hes just really good at the game!"
I wonder what gamer chair he has
@@drmegasteve4335 That's a really funny and original joke hahaha
@@ecchou3217 hahaha, you're fucking hilarious.
Lulu49_ haha you must be fun at parties
@@naoya_is_up penids
I love your chaotic energy.
The CB on his tshirt is an abbreviation of cyber bully
RiceL123: *Sees N0T_Code_Bullet*
RiceL123: “Press X to doubt”
"Please add me so we can have a chat" is the JTris equivalent of being called to the principals office in elementary school
Ericmac ain't even a mod, he litterally just wanted to have a chat
@@ryanmarshall5407 Yeah, he's not a mod, he's a snitch! /s
2:11 I laughed so hard at this and I don't know why
It's hilarious, that's why. Cracked me up too.
For the imagine at 0:46, that is done by the artist LimeBreaker, who is known for Not Safe For Work art. And that is their OC, LimeBot.
we're gonna bully nerds
spends over 20 hours on a AI for tetris
well well well, how the turn tables
Is it really bullying if hes also a smartass. He just outsmarted those nerds.
29:00 ;)
spends almost a month*
tetris for AI spends over a 20 hours
gonna nerds we're bully
Subbing to this man is a constant cycle of forgetting this channel exists and then making happy noises when he uploads
I see we are one in the same
Bingo
I don’t know why I keep seeing you comment on all theses videos. Anyway how’s Grandpas ashes?
This lmao
Yep
The CB on his t-shirt actually stands for cyber bully