I have yet to get top comment on your channel. I’ve gotten it here, on Sam hogan, and in Lxyan’s. My notification bell is on and ready for your amazing content. :)
subbing to this guy is a constant cycle of: 1. forgetting he exists, 2. Immediately becoming grateful when he uploads, 3. Binge watch all his vids 4. repeat
I love how as the channel grows, as CB gets more comfortable with his "persona" in his videos, the greater the memeage that seeps into the videos. And at the same time so does the refinement of the actual content (the actual coding/programing) in the video. They increase in equal parts shitpost and genuine content quality. Don't you ever change CB.
Because it's lovingly called plagiarism, but what he's actually doing is referencing some code while properly crediting its creator. Certainly helps he's apparently adapting it as well, so it's not straight up copy-paste plagiarism. The tech world in general is pretty helpful and collaborative to one another as long as you're not a self-praising little bitch, really. If you don't want something to be shared, you just don't share it. If it's out there in clear view to be shared, you are okay with it being shared as long as the person isn't an asshat. That's more or less how it is. ...and, you know, this is an entertainment video. Gotta know how to take a joke and all that.
I ran a Connect 4 AI competition in college, not realizing it was a solved game. The winner just made http calls to an online minimax game to get their next move...
@@matthewkawamoto8622 Is that a situation where taking the move wins but would set up a board where if the opponent were allowed a next move as though that last move hadn't won, they could win off the move that was made?
@@snowboundwhale6860 I actually have hard stops for the bit to not position the opponent for a win and also to block wins before even processing the fancy stuff, but for some reason it's ignoring the hard stops. Though even without the hardstops, the fancy code should recognize that it shouldn't go in those spots, so its gotten me confused. Took a step away for a bit lol
Agreed! That trick is something we call "opening books" so it's actually a well-theorized legit thing that he figured out on his own (which is impressive). Having programmed a chess bot I definitely won't consider opening books a cheat either
@@Trollllium So you tell me to mathematically progress every move in a chess game it takes 1.000.000.000 x the time passed since the big bang and would need more Mass to "save" the outcomes/informations/Data than our Universe has to offer? XD
@@DasHeino2010 Hi, in chess programming moves aren't perfect, but the concept of opening books is still the same. The first couple of moves have been extensively analyzed statistically so following opening books are generally very safe. Engines are quite good at analyzing midgame positions but not so much opening positions so it makes sense to use an opening book. Nowhere do I tell you that I search all possible chess continuations to make a move.
@@catelynh1020 i always watch all the ads on videos from creators i want to support. even if each ad is $0.06, if all of their viewers gave him that $0.18 it adds up pretty quickly
@@ЮрийКиселёв-к8я there's a point at which you would be annoyed, though. Ads every 2-3 mins, 2 unskippable ads per ad break, each 30 secs long. There was a video i watched where i literally spent more time sitting through ads than watching the video.
I’m going to use this comment to help this get out, when he said “it’s a bit fuckey wuckey” despite being a scalie I think my brain has stopped functioning in non vital movements I’m currently typing this via my parents making a series of grunts and growls at them for yes or no questions
@@liesdamnlies3372 I feel sad when people say JavaScript is bad still 😢 (if anyone doesn't get this, JS has had a bunch of people work super hard over the last decade or so to make it actually a pretty great language now. I mean, preferences or whatever, but it's a huge improvement) (But the real golden god of languages is Rust.)
I like how code bullet curses alot, steals programs, and is very non kid appropriate, and then got sponsored for a company that teaches kids to program
"son, what did you do today" "well i watched an aggressive australian man hack an online children's game for his own amusement. and oh yeah he profusely swore the whole time"
I’ll never not absolutely love bullets attitude and banter while making his videos. Absolutely amazing and it’s so much fun to watch. Love this channel
Codebullet as a youtuber is much like his AI. He evolves gradually and is becoming not just competent but very good and funny. Then all of a sudden does something weird like stop uploading for at least a year. But in the end his AI’s always work so he’ll be back.
sponsors don't care about swears and are more relaxed about it, it's midroll ads you can't get if you're rude because youtube wants money and advertisers don't want to advertise on swear videos or smthn
It seems like recently companies have been coming to understand that viewers aren't nearly as offended by the flavor of words chosen by our favorite creators as THEY are. Evan's just a cool dude, always friendly and upbeat. If I were a sponsor, I'd be happy to have my brand in front of his videos. And as a bonus, his audience is very rarely toxic in the comments. Usually cool, happy folk down here in the garbage pit.
In case if anyone doesn’t understand: A chair is a type of seat, typically designed for one person and consisting of one or more legs, a flat or slightly angled seat and a back-rest. They may be made of wood, metal, or synthetic materials, and may be padded or upholstered in various colors and fabrics. Chairs vary in design. An armchair has armrests fixed to the seat; a recliner is upholstered and features a mechanism that lowers the chair's back and raises into place a footrest; a rocking chair has legs fixed to two long curved slats; and a wheelchair has wheels fixed to an axis under the seat. Chairs can be made from wood, metal, or other strong materials, like stone or acrylic. In some cases, multiple materials are used to construct a chair; for example, the legs and frame may be made from metal and the seat and back may be made from plastic. Chairs may have hard surfaces of wood, metal, plastic, or other materials, or some or all of these hard surfaces may be covered with upholstery or padding. The design may be made of porous materials, or be drilled with holes for decoration; a low back or gaps can provide ventilation. The back may extend above the height of the occupant's head, which can optionally contain a headrest. Chairs can also be made from more creative materials, such as recycled materials like cutlery and wooden play bricks, pencils, plumbing tubes, rope, corrugated cardboard, and PVC pipe. In rare cases, chairs are made out of unusual materials, especially as a form of art or experimentation. Raimonds Cirulis, a Latvian interior designer, created a volcanic hanging chair that is handmade out of volcanic rock.Peter Brenner, a Dutch-born German designer, has created a chair made from lollipop sugar - 60 pounds (27 kg) of confectioners' sugar. Ergonomic design distributes the weight of the occupant to various parts of the body. This is done by having an easily adjustable seat height. A seat that is higher results in dangling feet and increased pressure on the underside of the knees ("popliteal fold"). It may also result in no weight on the feet which means more weight elsewhere. A lower seat may shift too much weight to the "seat bones" ("ischial tuberosities"). Gas springs are attached to the body of the chair in order to give height adjustment and more comfort to the user. Some chairs have foot rests. Around 15% of women and 2% of men need foot rests, even at the 16-inch (41 cm) chair height. A stool or other simple chair may have a simple straight or curved bar near the bottom for the sitter to place their feet on. Actual chair dimensions are determined by measurements of the human body or anthropometric measurements. The two most relevant anthropometric measurement for chair design is the popliteal height and buttock popliteal length. For someone seated, the popliteal height is the distance from the underside of the foot to the underside of the thigh at the knees. It is sometimes called the "stool height". The term "sitting height" is reserved for the height to the top of the head when seated. For American men, the median popliteal height is 16.3 inches (41 cm) and for American women it is 15.0 inches (38 cm).The popliteal height, after adjusting for heels, clothing and other issues, is used to determine the height of the chair seat. Mass-produced chairs are typically 17 inches (43 cm) high.Researchers such as Mary Blade and Galen Cranz found that sitting on the edge of a high stool with feet on the floor is less harmful for the lower back than sitting up straight on a conventional chair.
He just needed some audio there, in order to show off his video on how many times he won from these 8-year olds using a university degree, lots of time, on line resources, an expensive computer.
Being that he spent god knows how long coding the bugger, I think he technically didn't cheat. Being that he made this exactly to fuck with the connect 4 community, he kinda did.
Wait, Code Bullet has a website, where his origin story tells how he hates Python and despises it’s simplicity. So, I guess you could say: You were supposed to stop the Python Programmers, not join them. Bring balance to programming.
This man could literally make a video about anything and I would watch it cause of how entertaining he makes these videos. Amazing Job with these videos
"If you clicked option A or B then you don't know me very well." Evan, you literally went from JavaScript to Python for your Deep Q Learning car video...
There's some solace in the fact that if that's the case they'll be horribly inefficient and hell bent on Code Bullet's destruction alone given the whole laser/learn to run simulator thing.
Python can get a bad rap as being slow(er) because it's interpreted, but in any case, optimization requires a knowledge of what's going on behind the scenes. It's very possible to write optimized code in python. It may still be slower than something in c/c++ but that's the price you pay for a high level language.
Code bullet: It’s not really cheating Aalso code bullet 5 seconds later: so I’ve optimized this cheat so hard I have multiple divorce lawsuits and I aint married
Honestly the boost you added is completely valid. Many algorithms, especially chess ones have the first couple moves in a dictionary for the same reason of optimization and speed, and later games having less possible options
3:33: "Alright, I'm gonna need you to consider every possible move you can-" _dumps all of his yellow pieces in_ "No, you don't get to _take_ every move, you-" _dumps more yellow pieces in_ "Why are you dropping extra in the first column?"
As a programmer I felt the frustration in the fact that it broke but it didn't even break in a way you can understand. Like why, I made you in a way I thought you would work. When you didn't work you did it in such a way where it makes even less sense. Like why you gotta break the break ¿¿
There was a Connect 4 game released in the 90s that was a PVP online game, in the game there was a feature "Next Best Possible Move", which would tell you the best place to put your next counter. Unless your opponent also knew of this feature (most didn't) then you were guaranteed to win, and it was pretty much instant when you called it. Unfortunately it's been so long since I play it, I don't remember it's name. However websites that do that same thing have existed just as long, and are just as fast.
It likely has the early boards saved and don't actually do any calculations until you get deeper into the game. For example, if the opponent starts, that gives you 7¹=7 different boards, and after you and the opponent choose again, that is about 7³=343 different boards, some are duplicates. After you two choose again, that us 7⁵=16 807 different boards, with even more duplicates. This is likely where CB got the 15 000 number from, the number of different boards you can achieve after 5 tokens. So from 0-5 tokens places, with ~15 000 boards saved, you can give an instant result. But 15 000 is nothing to a computer. Do 9 tokens and you have less than 40 000 000 boards, which again is nothing for a computer. But then after that you can run the algorithm. But when it runs the algorithm to figure out what the next best move is, it could save it to the list. Each board can be stored numerically, where you have each column be: 0=++++++, 1=X+++++, 2=O+++++, 3=XX++++, 4=OX++++, 5=XO++++, 6=OO++++, 7=XXX+++, and so on, with 254 being the max value, but you can technically never achieve 253 or 254 since both have 5 and 6 of the same tokens in a row respectively. So max value is 252. So the max number of boards is (252+1)⁷ = 66 350 415 710 840 437. Meaning you can convert each board from and to a 64-bit numerical value, and then have a list that converts a board value to a move value (1-7), and if the board value is not included, run the algorithm as soon as it's your turn, then put it in the list. This way, it will only be delayed if you see a board for the very first time ever, and if you click that button instantly. But since humans tend to follow patterns, and avoid really stupid moves, there are a lot of board states never put on the list.
@@Disatiere No actually the game is perfect information and solved; it's easy to detect since 1995. The win rate is irrelevant, you just check the moves it makes against the 1995 solution, which is what CodeBullet has implemented. In fact, the win rate in this case depends only on how well humans on the site play when they have first move, because the solution is first player win. The only reason they haven't is that nobody seriously plays Connect 4.
Have to admit you have been one of the most fascinating channels to watch. I could tell you were going deep into editing in effects more. You have got an amazing gift. Not only can you make tons of hours of coding cool, you can make connect 4 absolutely legendary. Take care mate hope your doing well in school and shit
This is essentially how chess AI is made. They build a table base for openings, then brute force via mini max after the table runs out. Then, since chess is so open to repetition in the endgame, i think a lot of AIs also have table base endings programmed in as well.
@@Rocker-1681 when you say "has been solved" what does this mean in terms of AI play? Are they still brute forcing all possible moves, or is it like a precalculated moveset to get to the end?
It's not called cheating, it's called "over-utilization of morally questionable yet available mechanics". ... _Also of course i picked option C, _*_it's the most efficient and optimised choice of all._*
You don't need coffee, you need tea. The Brits will understand, especially the older generation of people mainly above the age of 60 or 50 in Britain love tea
Codebullet: Knows he'll have to calculate millions of moves and needs heavy optimization as well as multithreading. Also Codebullet: Starts coding in Python
@@solarsupremacy9191 This is the correct approach. Efficient JIT requires a certain code style though. CUDA even more so. However I do wonder why he doesn't use at least JIT. He should know about it. (I personally would probably have used Rust and (if applicable; would need to check the actual calculations required) a CUDA interface (the language is almost irrelevant there). If you don't want to use CUDA I'd definitely go with either C++ or Rust (or one of the more multi-threading optimized exotics), but that's personal preference.
That question depends how many brain cells are you willing to sacrifice as I did and my brain gave itself a lobotomy and I not longer remember anything on this
The timing of that first ad was so perfect. Right when CB pulls out the gun on Newton, I’m thinking, “Is he getting monetized for this?” And then the ad comes up right away to answer the question.
I like to imagine that you actually use one of those really old computers for all testing then just transfer it to a newer one if: A) it doesn't work B) the computer is on fire C) all of the above
The guy recently got a "supercomputer" (probably a server computer or a Threadripper workstation) for his Tetris AI brute-force project so that's probably what he uses nowadays for testing
I don't think I've ever written a program that didn't involve at least one session of rage-swearing. Someplace, I have a copy of "Hello, $@#^! world", which throws a random profanity in each time it runs.
@@mtnbkr5478 I love that 😂😂😂 I took computer science 1 and 2 in college and it fucked me over so much. I had to take cs2 a second time cause I failed it the first time. There were many nights spent crying and raging over broken code that all broke because of one missed semicolon😂😖
At least it ain't JavaScript, which doesn't care either way, but can occasionally produce...interesting results without 'em. Or, when you forget an angle bracket and your templates get fucked.
Use an IDE and a linter and don't worry about missing semicolons again. And for Javascript, while you can't do much about vanilla, if you're packing your code there's tools that will put them in there for you.
3:34 To be fair, placing down 8 pieces in one move is a pretty solid option for the cpu to make
Jeha, but it must have been quite stupid to place down 8 pieces at once and still not win.
"Which slot do you want to place your piece in?"
"Yes."
Hm.
FUCK.
that's basically how my friends play connect 4 while drunk
That strategy is unbeatable. They’re a dreamer!
Online board game: * exists *
Code Bullet: "And I took that personally"
Lmao
@22JEREMY OPPENZATO Code Bullet vs. Stockfish 12 NNUE
Last dance reference?
Or Code bullet:"so then I started blastin"
Code bullet killer of online board games
Should be called “bullying nerds by being a bigger better nerd”
Technoblade would think he is being challenged un his position as the king nerd.
isnt that just every code bullet episode tho
@@bloom2586 Yes pretty much they are. The channel could be called “the biggest best nerd”.
Alpha Nerd
xD
I am truly impressed by how energetic cb has gotten, he used to be so calm and composed all the time XD
This channel is just a documentary of a man's decent into madness
when you create the PERFECT AI for connect 4
can you blame him?
@@alexandernolte63 I was gonna say yea hes really grown as a person and then I realized how to fucking true this is
what being a content creator does to you
Well, he did evolved before
Poor Isaac just wanted to eat his apple :(
dani stop commenting so people see your channel xd
this is so sad
Milk
I have yet to get top comment on your channel. I’ve gotten it here, on Sam hogan, and in Lxyan’s. My notification bell is on and ready for your amazing content. :)
Hello Dani
He's posting more than once every 3 months you know this man really had nothing to do
Thanks china.
I mean 1 vid should generate a few thausand bucks so that an regular monthly income
Something isn't right. He's posted within a month.
*Somethings wrong, I can feel it*
He is now an AI that posts videos faster than he can
He sus
He's got more time working from home lol
WHERE IS THE REAL CODE BULLET
"Alpha beta pruning is like normal minimax, but a bit fucky-wucky"
Thanks Code Bullet, I needed that for my CS exam tomorrow.
How'd the cs exam go bro?
@@liljammy6434 I passed, thanks for asking bro
@@botondhetyey159 awesome, congrats!
@@botondhetyey159 Yay! Good job!
@@botondhetyey159 You graduated yet bro?
subbing to this guy is a constant cycle of:
1. forgetting he exists,
2. Immediately becoming grateful when he uploads,
3. Binge watch all his vids
4. repeat
I'm in this picture and I don't like it
Lmfao this is exactly what I had on my mind
This is the most true comment I've ever seen lol
It’s an emotional rollercoaster
yessir
I love how as the channel grows, as CB gets more comfortable with his "persona" in his videos, the greater the memeage that seeps into the videos. And at the same time so does the refinement of the actual content (the actual coding/programing) in the video. They increase in equal parts shitpost and genuine content quality.
Don't you ever change CB.
That is so true 😅
Quality >>> quantity
Best. Channel. Ever.
I love his humor, his accent, the way he makes programming look like fun,.. and I can go on for a while
3:27 is when I clicked Like, memes are definitely 10/10 on point.
This. Definitely this.
I like how he says “time to plagiarize” but then he literally gives pascal all the credit.
CodeBullet doing plagiarizing the right way 👍🏻
happens every time
@22JEREMY OPPENZATO Hahaha that would be amazing
The ai was the plagiarism
Because it's lovingly called plagiarism, but what he's actually doing is referencing some code while properly crediting its creator. Certainly helps he's apparently adapting it as well, so it's not straight up copy-paste plagiarism.
The tech world in general is pretty helpful and collaborative to one another as long as you're not a self-praising little bitch, really. If you don't want something to be shared, you just don't share it. If it's out there in clear view to be shared, you are okay with it being shared as long as the person isn't an asshat. That's more or less how it is.
...and, you know, this is an entertainment video. Gotta know how to take a joke and all that.
I ran a Connect 4 AI competition in college, not realizing it was a solved game. The winner just made http calls to an online minimax game to get their next move...
... damn.
Can you remake it and put it on github? I need the code for a project. Thanks
@@matthewkawamoto8622 Is that a situation where taking the move wins but would set up a board where if the opponent were allowed a next move as though that last move hadn't won, they could win off the move that was made?
@@snowboundwhale6860 I actually have hard stops for the bit to not position the opponent for a win and also to block wins before even processing the fancy stuff, but for some reason it's ignoring the hard stops. Though even without the hardstops, the fancy code should recognize that it shouldn't go in those spots, so its gotten me confused. Took a step away for a bit lol
i have to do the same but the board size is random
Honestly, that was such a smart ‘cheat’. I’m impressed.
Agreed! That trick is something we call "opening books" so it's actually a well-theorized legit thing that he figured out on his own (which is impressive). Having programmed a chess bot I definitely won't consider opening books a cheat either
Ikr
At that point it feels more like Google-Fu than cheating
@@Trollllium So you tell me to mathematically progress every move in a chess game it takes 1.000.000.000 x the time passed since the big bang and would need more Mass to "save" the outcomes/informations/Data than our Universe has to offer? XD
@@DasHeino2010 Hi, in chess programming moves aren't perfect, but the concept of opening books is still the same. The first couple of moves have been extensively analyzed statistically so following opening books are generally very safe. Engines are quite good at analyzing midgame positions but not so much opening positions so it makes sense to use an opening book. Nowhere do I tell you that I search all possible chess continuations to make a move.
Code bullet: uploads more than once a year
Everyone: somethings wrong I can feel it
There is a disturbance in the force
There's something in the air I guess. Besides covid.
eminem rap god thou
It's just a feeling I've got, like somethings about to happen, But I dont know what.
@@thomashanson6603 if that means what i think it means we're in trouble. Big trouble.
Code bullet: *uploads within a month*
Me: don't do that, don't give me hope...
He is a monomonth poster and I love him for the content is stupidly funny and good.
He said he needed money, had a sponsor, and i sat through 4 separate ad breaks (start, 2 min, 6 min, 11 min)
@@catelynh1020 i always watch all the ads on videos from creators i want to support. even if each ad is $0.06, if all of their viewers gave him that $0.18 it adds up pretty quickly
@@ЮрийКиселёв-к8я there's a point at which you would be annoyed, though. Ads every 2-3 mins, 2 unskippable ads per ad break, each 30 secs long. There was a video i watched where i literally spent more time sitting through ads than watching the video.
i like how his whole thing is "bullying nerds" now but he's making a fucking connect 4 a.i.
I’m going to use this comment to help this get out, when he said “it’s a bit fuckey wuckey” despite being a scalie I think my brain has stopped functioning in non vital movements I’m currently typing this via my parents making a series of grunts and growls at them for yes or no questions
@@reptiliandudemegee5520 😐
He used the nerd to destroy the nerd
@@reptiliandudemegee5520 really??
@@reptiliandudemegee5520 I think I had a stroke reading this.
8:00 “I was this close to giving up”
Hands are shoulder width apart
He's code so he's tiny
Checkmate liberal
@@eggs8021 this is connect 4, not chess
@@gamersgambit7517 dumb
@@flutedscissors9655 no no, he has a point
@@gamersgambit7517 I've been defeated
It’s 2:16 am. Code bullet is more important. I always love seeing all your videos. Keep up the amazing work!
11pm for me
@@masterofdragons82 it's 11:19 pm rn for me
3am for me
So y’all in pst time?
Exactly, only 11:16 pm for me though
I remember back in elementary school during snack time a whole group of people were playing connect 4 super competitively lmao
Wait a minute... Do I know you?
Connect four was a religion
Have we meeeeet?
5th grade connect four tournament and I rekt those nerds
I lost a lot of money in those days
I love how the board he used as an example is an impossible state
2:56
Can we get some love for the mastermind Pascal, who without, this video would not be possible. Thanks Pascal, you beautiful creature.
thank you
Wtf
Thank you
Thank you Pascal
The optimisation from pascal are standard optimizations for any minimax implementation, so he's not the one who found them
The fact that he uses MS Paint for his board animation istead of the actual game he coded himself just shows his confidence in his code.
No. Yes. I don't want no hello? Uhzvnfhbchk
Wut
🧐
The fact that he actually used photoshop is even cooler!
@@cactiman6593 ...what?
“That’s where this week’s sponsor comes in”
Me: more like this month’s sponsor
This year's sponsor
More like this year sponsor
@@sir_slimestone3797 sorry didnt read your comment
@@sir_slimestone3797 yea that’s more like it, I was going to say this 6 month’s sponsor, but that no worko
This years sponsor is little more accurate
Evan: "C++ good, python bad"
Me who is currently learning C++ in school: *signature look of superiority*
lol, just never forget that they both have their place. The one thing every dev can agree on though, is that JS is literally the worst.
Evan: "C++ good, python bad"
Me who is currently learning python in school: *signature look of inferiority*
I like java..... crys in plugins for mc.
don't you mean, *superior look of superiority*
@@liesdamnlies3372 I feel sad when people say JavaScript is bad still 😢 (if anyone doesn't get this, JS has had a bunch of people work super hard over the last decade or so to make it actually a pretty great language now. I mean, preferences or whatever, but it's a huge improvement)
(But the real golden god of languages is Rust.)
Damn he uploaded in less than 2 months. The Code Bullet AI is evolving
The optimisation is really improving
@Heath Lockwood ahh yes the great classic stick butplug
or maybe he wrote an ai to do youtube for him
r/beatmetoit
Me suprpised two! OvO
Ah, a sponsor.
That explains all the swearing and disobeying mama Susan.
Nope that’s normal.
DONT UPSET MAMA SUSAN
@@Thymepilot SHE'S NOT MY REAL MOM!!!
that intro, judging by the comments, is SEVERELY underrated
I thought it was too overdone and skipped over it.
Intro is a theme followed across the video....a comment on connect 4...
@Kevin Frayre the weak minded do not watch intros, smh
Very
I thought it was overrated
I like how code bullet curses alot, steals programs, and is very non kid appropriate, and then got sponsored for a company that teaches kids to program
I love how he probably curses 16 times an minute and then gets sponsored by a company for kids
But the company is not for kids. Is for the parents that want to give their kids a scientific educational present
But the company is not for kids. Is for the parents that want to give their kids a scientific educational present
But the company is not for kids. Is for parents that want to give their kids a scientific educational present
But the company is not for kids. Is for n parents that want to give their kids a scientific educational present
umm
Impossible events:
Pigs flying
Raining cats and dogs
Code Bullet uploading a video without curse words
Code Bullet’s radio receiver being upright and not bent
Code bullet just having an upload schedule
@@superjackxbs5855 i second this statement
@@mysiph I third
@@Introlabe i forth
Codebullet: next video will be more ambitious
Everyone: see ya in 2021
You're being too generous with your estimate.
Pretty sure it going to be a Christmas special
@@gameplayer1958 stop trying to be realistic
May 2021 be better than 2020.
@@robertt9342 Don’t say that... Don’t give me hope
This channel is literally perfect I don’t know how you’ve done it, but the content just ticks every single box, boxes I didn’t even know existed
"son, what did you do today" "well i watched an aggressive australian man hack an online children's game for his own amusement. and oh yeah he profusely swore the whole time"
R U winning son.
F#$# Buggered if I know.
Mate he’s an Australian how would he not be swearing
@@AidanBueling lmao fr fr
"mathematically speaking, I'm fucked."
Sounds like lazarbeam
Within a month, he post new videos with good quality animations.
Me: "Impossible."
I'm only liking this cause I imagined sorrowtv reading it and it made me laugh internally l
I think he has an AI that does it for him.
Code bullet: swears in his videos
Also him: gets sponsored by a company that makes products for little children
lolz, the products for kids are purchased by adults
I mean, it's the adults who buy these stuffs for kids
I bet you both are fun at parties
bruh CB is Australian swearing is in our DNA
@Comic Caleb Why are you so afraid of the truth
I’ll never not absolutely love bullets attitude and banter while making his videos. Absolutely amazing and it’s so much fun to watch. Love this channel
I'm convinced code bullet keeps making AI's because he finally wants to win games he used to lose at when he was a kid.
Agreed
Isn't that a known fact ?
True
If this is true why hasn’t he made an AI to beat life?
@@ClockworkBlade ooohh deep
CodeBullet: “and that is where this weeks sponsor comes in.”
Everyone: *more like this months sponsor if we’re lucky*
Hahahaha
You are DETAINED baaaah baah baaaah baah bahh baaaah ba ba ba
Glory to arstoska
POTATO MANNN
Years
What if CB made the PERFECT A.I. to fix his upload schedule
we definitely do
Literally 1am
He'd need to finish the enigma machine first.
@Brayden Werk IVE NEVER MET ANYONE FROM MINNESOTA ONLINE OMLL
@Brayden Werk Bruh the fact that found u less then 30 seconds after u commented is crazy to me
Codebullet as a youtuber is much like his AI. He evolves gradually and is becoming not just competent but very good and funny. Then all of a sudden does something weird like stop uploading for at least a year. But in the end his AI’s always work so he’ll be back.
Code Bullet: We'll be making history
Me: Code bullet is coming back to one video every 3 months?
Alpha-beta pruning:
"Just like regular minimax but a bit fucky-wucky"
Actually dying at how accurate it is, haha
ua-cam.com/video/yZfW3YW6bQI/v-deo.html
@@dontclickthelink75atgmaild7 I was not disappointed lmao
@@dontclickthelink75atgmaild7 if that was a Rick roll I would have given up lol
@@dontclickthelink75atgmaild7uno reverse card
The repleis are cancer
CB: *Curses within the 30 second mark*
Also CB: *Gets a sponsor*
Me: How
sponsors don't care about swears and are more relaxed about it, it's midroll ads you can't get if you're rude because youtube wants money and advertisers don't want to advertise on swear videos or smthn
ah KIDS PRODUCTS sponsor
@@darthvader2994, CB: *Also gets mid-roll ads.
It seems like recently companies have been coming to understand that viewers aren't nearly as offended by the flavor of words chosen by our favorite creators as THEY are.
Evan's just a cool dude, always friendly and upbeat. If I were a sponsor, I'd be happy to have my brand in front of his videos.
And as a bonus, his audience is very rarely toxic in the comments. Usually cool, happy folk down here in the garbage pit.
@@mashrien what garbage.
In case if anyone doesn’t understand: A chair is a type of seat, typically designed for one person and consisting of one or more legs, a flat or slightly angled seat and a back-rest. They may be made of wood, metal, or synthetic materials, and may be padded or upholstered in various colors and fabrics. Chairs vary in design. An armchair has armrests fixed to the seat; a recliner is upholstered and features a mechanism that lowers the chair's back and raises into place a footrest; a rocking chair has legs fixed to two long curved slats; and a wheelchair has wheels fixed to an axis under the seat. Chairs can be made from wood, metal, or other strong materials, like stone or acrylic. In some cases, multiple materials are used to construct a chair; for example, the legs and frame may be made from metal and the seat and back may be made from plastic. Chairs may have hard surfaces of wood, metal, plastic, or other materials, or some or all of these hard surfaces may be covered with upholstery or padding. The design may be made of porous materials, or be drilled with holes for decoration; a low back or gaps can provide ventilation. The back may extend above the height of the occupant's head, which can optionally contain a headrest. Chairs can also be made from more creative materials, such as recycled materials like cutlery and wooden play bricks, pencils, plumbing tubes, rope, corrugated cardboard, and PVC pipe. In rare cases, chairs are made out of unusual materials, especially as a form of art or experimentation. Raimonds Cirulis, a Latvian interior designer, created a volcanic hanging chair that is handmade out of volcanic rock.Peter Brenner, a Dutch-born German designer, has created a chair made from lollipop sugar - 60 pounds (27 kg) of confectioners' sugar. Ergonomic design distributes the weight of the occupant to various parts of the body. This is done by having an easily adjustable seat height. A seat that is higher results in dangling feet and increased pressure on the underside of the knees ("popliteal fold"). It may also result in no weight on the feet which means more weight elsewhere. A lower seat may shift too much weight to the "seat bones" ("ischial tuberosities"). Gas springs are attached to the body of the chair in order to give height adjustment and more comfort to the user. Some chairs have foot rests. Around 15% of women and 2% of men need foot rests, even at the 16-inch (41 cm) chair height. A stool or other simple chair may have a simple straight or curved bar near the bottom for the sitter to place their feet on. Actual chair dimensions are determined by measurements of the human body or anthropometric measurements. The two most relevant anthropometric measurement for chair design is the popliteal height and buttock popliteal length. For someone seated, the popliteal height is the distance from the underside of the foot to the underside of the thigh at the knees. It is sometimes called the "stool height". The term "sitting height" is reserved for the height to the top of the head when seated. For American men, the median popliteal height is 16.3 inches (41 cm) and for American women it is 15.0 inches (38 cm).The popliteal height, after adjusting for heels, clothing and other issues, is used to determine the height of the chair seat. Mass-produced chairs are typically 17 inches (43 cm) high.Researchers such as Mary Blade and Galen Cranz found that sitting on the edge of a high stool with feet on the floor is less harmful for the lower back than sitting up straight on a conventional chair.
Now I understand
Damn bro, that’s what I would expect lieutenant commander Data from Star Trek to say if I asked him about chairs
yyyyyyyyyyyyyeeeeeeeeeeeeaaaaaaaahhhhhhhhhhhhhhhh I'm not reading all that-
There are too many sentences and not enough paragraphs
You'd love my chair mech!
hello, gordon!
CB Sponsor: So you do kids' educational content?
CB: Yeah... something like that
CB Disclaimer: *DO NOT USE AS EDUCATIONAL CONTENT*
Code Bullet is getting even more cynical and sarcastic. I think I like it.
Edit: By the way, I like the ramble at the end. Do that more. 👌
He just needed some audio there, in order to show off his video on how many times he won from these 8-year olds using a university degree, lots of time, on line resources, an expensive computer.
Rambling can get old quick
@@DanielDavies-StellularNebulla remember top gear, rambling is a big part of that..
@@Noah-vu4ie That's not so much "rambling" and if it is, it's scripted rambling so they can segway into the next important thing
@@DanielDavies-StellularNebulla true
“Am I cheating? Maybe...”
Wasn’t that the goal?😂
but it isn't cheating it is called optimization.
His goal is to cheat, but he cheated on cheating
@@boxedfoxstudios6479 but did he cheat so he can cheat the cheat?
Being that he spent god knows how long coding the bugger, I think he technically didn't cheat.
Being that he made this exactly to fuck with the connect 4 community, he kinda did.
“…which is like normal minimaxing but a bit _fucky-wucky”_ is an absolutely gold line
Every game ever:
Code Bullet: So I made a AI that can destroy humans...
*then proceeds to help all of humanity*
Code bullet: Well that wasn’t supposed to happen
@@c-1939 *Let me fix that*
@@c-1939 Sounds like Doofenschmirtz from Phineas & Ferb
Go to btd battles then
Remember to make your fail safe work
"Plague left the game."
CODE BULLET HAS SAVED US ALL.
I-
@@umbuchscui I- WHAT. SPEAK.
@@godofdoor6558 I’m sorry
I just don’t know what to say
Im still dying
@@godofdoor6558 he completed it!
Wait, Code Bullet has a website, where his origin story tells how he hates Python and despises it’s simplicity.
So, I guess you could say: You were supposed to stop the Python Programmers, not join them. Bring balance to programming.
NOT LEAVE IT IN DARKNESS!
I was happy in not seeing JS again, it makes my eyes bleed, such terrible programming language
“There are only two kinds of languages: the ones people complain about and the ones nobody uses.”
- Bjarne Stroustrup (creator of C++)
@@123_king_me9 who complains about c++ other than python programmers saying it's too hard?
JS gang.......I know......I know......you guys hate us......I'll see me way out
This man could literally make a video about anything and I would watch it cause of how entertaining he makes these videos. Amazing Job with these videos
When his art skills are improving more than his coding skills....
It's another person who do the animations now
No this is not how you are supposed to play the game!
@@facefish1713 he discussed how he enjoyed the editting at the end so ???
@@JM..... no some artist on Instagram drew the sprites for code bullet, and I'm assuming he just edits them
@@colinrobinson9858 I was making a joke, of course his coding is getting better. Don't assume and be a dick about it.
"Like normal minimax, but a bit fucky wucky."
- Code Bullet
confirmed code bullet is a protogen?
Oopsie woopsie! We made a fucky wucky a wittle fucko boingo!
@@jzLoFT I mean, Code Bullet IS a computer person. So, let's just file that theory under "vaguely possible".
@@XD-yn6hb pun?
@@racehans4521 yes
"If you clicked option A or B then you don't know me very well."
Evan, you literally went from JavaScript to Python for your Deep Q Learning car video...
And he had a terrible time, and the video was delayed for a long while.
Not Java, JavaScript
JavaScript isn't a very fast language either (at least not like c++) so I don't know how much that'd help
@@Sykale Didnt help with performance, but allowed him to use some of the Q learning libraries (written in Python)
@@Sykale and python is slower than JavaScript
I feel like code bullet is going to be the guy solely responsible for the robot uprising
And Michael Reeves
There's some solace in the fact that if that's the case they'll be horribly inefficient and hell bent on Code Bullet's destruction alone given the whole laser/learn to run simulator thing.
Only if he can plagiarize from someone
@@StaleToast0011 😂 nice one dude
No!! NOT the SkyNet!!!
3:46 "Guess who knows a lot about optimization"
Probably not the guy working in Python. I could be wrong, though
Python can get a bad rap as being slow(er) because it's interpreted, but in any case, optimization requires a knowledge of what's going on behind the scenes. It's very possible to write optimized code in python. It may still be slower than something in c/c++ but that's the price you pay for a high level language.
@@CrazyStranger11 writing optimized code in python is _hard_ and its still slower than not-shit c#/c++ code
Can you do better?
@@DamageMaximo he is joking my dude
@@CrazyStranger11 yup, it's slow as shit but that forces you to approach problems in very interesting ways. Forcing that big brain time
Would you rather:
Win the lottery or Code Bullet having a consistent upload schedule
Just kidding, neither one will happen
:(
Second
You know, that's funny because I won €1500 last weekend
@@Zalidia You know,it's funny cause no one cares
@@BlackHole22410 you cared enough to take the time to comment XD
Code bullet: It’s not really cheating
Aalso code bullet 5 seconds later: so I’ve optimized this cheat so hard I have multiple divorce lawsuits and I aint married
Wow, I began in this video and looked at the comments and this caught my eye, only cause this sounds like something Evan would actually say
Haha I messed up your 666 likes
It is now at 777 likes, don't u dare
Honestly the boost you added is completely valid. Many algorithms, especially chess ones have the first couple moves in a dictionary for the same reason of optimization and speed, and later games having less possible options
3:33: "Alright, I'm gonna need you to consider every possible move you can-"
_dumps all of his yellow pieces in_
"No, you don't get to _take_ every move, you-"
_dumps more yellow pieces in_
"Why are you dropping extra in the first column?"
As a programmer I felt the frustration in the fact that it broke but it didn't even break in a way you can understand.
Like why, I made you in a way I thought you would work. When you didn't work you did it in such a way where it makes even less sense. Like why you gotta break the break ¿¿
Code Bullet: Curses a lot and their content is mainly aimed at adults.
Also Code Bullet: Gets a sponsor for a child's learning toy / program.
*Australian intensifies*
Also, do you think the kids will sign themselves up? Obviously it's aimed towards parents
@@diablotry5154 That's what I thought, but at least he can still make a buck. I'm not even mad as that seemed a good, genuine sponsor.
Not a bad choose tbh, for adults with kids who watch, and for all the cool babies out there
Bruh I am kid I am like 11
I fear no man. But poo poo man, he scares me
poo poo + man = scary
Peepeepoopooman
One shudders to imagine what lies behind that moustache
What dreams of chronic and sustained cruelty.
@@GabrielShitposting i don't even think that makes sense
@@owenthemousey2268 bruh, it's a pyro tf2 reference
There was a Connect 4 game released in the 90s that was a PVP online game, in the game there was a feature "Next Best Possible Move", which would tell you the best place to put your next counter. Unless your opponent also knew of this feature (most didn't) then you were guaranteed to win, and it was pretty much instant when you called it. Unfortunately it's been so long since I play it, I don't remember it's name. However websites that do that same thing have existed just as long, and are just as fast.
It likely has the early boards saved and don't actually do any calculations until you get deeper into the game. For example, if the opponent starts, that gives you 7¹=7 different boards, and after you and the opponent choose again, that is about 7³=343 different boards, some are duplicates. After you two choose again, that us 7⁵=16 807 different boards, with even more duplicates. This is likely where CB got the 15 000 number from, the number of different boards you can achieve after 5 tokens. So from 0-5 tokens places, with ~15 000 boards saved, you can give an instant result. But 15 000 is nothing to a computer. Do 9 tokens and you have less than 40 000 000 boards, which again is nothing for a computer. But then after that you can run the algorithm.
But when it runs the algorithm to figure out what the next best move is, it could save it to the list. Each board can be stored numerically, where you have each column be: 0=++++++, 1=X+++++, 2=O+++++, 3=XX++++, 4=OX++++, 5=XO++++, 6=OO++++, 7=XXX+++, and so on, with 254 being the max value, but you can technically never achieve 253 or 254 since both have 5 and 6 of the same tokens in a row respectively. So max value is 252. So the max number of boards is (252+1)⁷ = 66 350 415 710 840 437. Meaning you can convert each board from and to a 64-bit numerical value, and then have a list that converts a board value to a move value (1-7), and if the board value is not included, run the algorithm as soon as it's your turn, then put it in the list. This way, it will only be delayed if you see a board for the very first time ever, and if you click that button instantly. But since humans tend to follow patterns, and avoid really stupid moves, there are a lot of board states never put on the list.
The bot's profile says 261 wins, 26 defeats for Connect 4. That's a 91% winrate.
It also says 0 wins, 2 defeats for... Battleship?!
impressive that it wasn't banned or something like that already since i feel like it is a bit of an unfair advantage
Guess battleship is next or code was testing the account
@@LV5_G.R.P. There's no way for that site to detect botting, a high winrate just means a good player
@@Disatiere No actually the game is perfect information and solved; it's easy to detect since 1995. The win rate is irrelevant, you just check the moves it makes against the 1995 solution, which is what CodeBullet has implemented. In fact, the win rate in this case depends only on how well humans on the site play when they have first move, because the solution is first player win. The only reason they haven't is that nobody seriously plays Connect 4.
@@JigawattMusic How about connect 5 with bigger field?
Have to admit you have been one of the most fascinating channels to watch. I could tell you were going deep into editing in effects more. You have got an amazing gift. Not only can you make tons of hours of coding cool, you can make connect 4 absolutely legendary. Take care mate hope your doing well in school and shit
"If you picked C, that's a little insulting"
Well, I mean... You DID ask, CB. Did you want us to lie to you?
To be honest that was a great way to cheat.
I picked Java
I mean he did say he did cheat a little
How about CBT
I just _knew_ the answer definitely wasn't A. Or B.
This is essentially how chess AI is made. They build a table base for openings, then brute force via mini max after the table runs out.
Then, since chess is so open to repetition in the endgame, i think a lot of AIs also have table base endings programmed in as well.
Most, if not all, modern chess AIs do have an endgame tablebase. Any chess position with 7 or fewer pieces on the board has been solved already.
@@Rocker-1681 when you say "has been solved" what does this mean in terms of AI play? Are they still brute forcing all possible moves, or is it like a precalculated moveset to get to the end?
Imagine having to connect 4 to win
-This post was made by Tic Tac Toe gang
Why need 3 or 4 when you can be single
and lonely
@@karelessoriginals757 sad Solitaire noises
This comment just won the internet
5 or GTFO
#GomokuGang
Imagine having only 9 total slots
-This post was made by Connect 4 gang
Anyone: Makes one move.
CB: And that's where you lost.
Me:(blinks)
Going first is actually the winning start. Middle column OP
poo poo man*
Next he should do a tic tac toe one cause yeah
“I’m not good at optimization, or programming, or Connect 4”
Your name is Code Bullet.
@22JEREMY OPPENZATO and enigma machine part 2
@22JEREMY OPPENZATO Already made. His name is Magnus Carlsen
I genuinely believe Code Bullet would make a fantastic teacher one day.
It's not called cheating, it's called "over-utilization of morally questionable yet available mechanics".
...
_Also of course i picked option C, _*_it's the most efficient and optimised choice of all._*
You.. german perhaps? Although the Germans like to overengineer which isn't always... Efficienct.
@@brazgazz *B-B-B-BRAKAMONOGAAA! GERMAN SCIENCE IS THE WORLD'S FINEST!!!*
I did too
same
@@anirvana nope we got fat and lazy, we are the new muricans, its Asia now
Who needs coffee in the morning? Just watch this video.
I have already been doing this for years
Lol
I just love watching him suffer and slowly creating skynet one a.i at a time
I need coffee
You don't need coffee, you need tea. The Brits will understand, especially the older generation of people mainly above the age of 60 or 50 in Britain love tea
"So mathematically speaking, I'm f*cked."
Good lord have I been there
*Offers comfort in Undergrad*
Oh read this as he said
Hey, haven't we all been there
@@JuniorJunison yea i have been there ( in a simaultaneous equation )
to many times
Just realized there's a clip of Mr. Lahey at 1:51. After all these years and countless rewatch this video still keeps on givin 🙏
Nerds have to be bullied, and since this year most were able to avoid school, I'm happy the australian code man came to deliver justice
My lunch money T-T
Actually he is from New Zealand
he sounds like he's from New Zealand to me idk
@@reubenmontgomery6989 sniper tf2
ua-cam.com/video/yZfW3YW6bQI/v-deo.html
Codebullet: Knows he'll have to calculate millions of moves and needs heavy optimization as well as multithreading.
Also Codebullet: Starts coding in Python
He shoulda used Lua
@@Tonatsi Anything that interfaces LLVM will do.
next time he uses byob for this xD
Python can easily do this... He just doesn't know about JIT or cuda. JIT will compete with optimised c++ and cuda will blow c++ out of the water.
@@solarsupremacy9191 This is the correct approach. Efficient JIT requires a certain code style though. CUDA even more so. However I do wonder why he doesn't use at least JIT. He should know about it. (I personally would probably have used Rust and (if applicable; would need to check the actual calculations required) a CUDA interface (the language is almost irrelevant there). If you don't want to use CUDA I'd definitely go with either C++ or Rust (or one of the more multi-threading optimized exotics), but that's personal preference.
Plot twist: CB never make videos anymore he made a AI to make it.
And his schedule is so slow because the AI is written in python
That would explain why his upload schedule sucks so much.
Do you really think that Evan could code an AI that gold?
@@elliebrooke3987 No, he'd 'borrow' someone else's AI.
@@tomcampbell-oulton410 He yeeted Dani's AI but made him drink Orange juice
I want to point out that Evan has changed his language of choice from Javascript to Python. That's character development.
This guy is so underrated man... he deserves more.
Two and a half million subs seems fit enough, 99% of good creators don't even have one
Idk tbh like he doesn’t rlly upload much but his content is pretty good. Think he has enough subs
Idk the guy drops a video and dips for 3 months 🤷🏻♂️
Ikr you can see how much effort he puts into these videos and he's really entertaining and comedic
So what if he doesn't upload much he has such amazing content and coding takes so long to do
"and then the computer goes AAAAAAAAAAAAAAAAAAAAAAAAAAA" made me laugh for a long time
im still laughing to it
@@lPhoenixGloryl Its been a month u still laughing
@@mrnewb4725 Honestly yes if I happen to check the video again
@@lPhoenixGloryl Noice
4 months ago and I'm also still laughing
"Next video will be more ambitious and interesting"
- Code for "The next video wont be out for a while :P
Love the videos bro!!
Maybe in 2021 :0
I wish there were more videos like this. Funny, entertaining person doing something cool in a random, interesting field.
The cheat reminded me too much of that sorting algorithm that checks Stackoverflow for sorting algorithms and tries to run them.
Is it fast though?
That question depends how many brain cells are you willing to sacrifice as I did and my brain gave itself a lobotomy and I not longer remember anything on this
Remember when Evan wanted to make his channel cleaner? Good times.
Shut heck this is better scrub.
it's clear that his stress from programming has made him spiral downwards to insanity
@@thatnomad6907 wut??
@@theunsv.r9500 kids lol
yeah he should probably buy a vacuum cleaner
The timing of that first ad was so perfect. Right when CB pulls out the gun on Newton, I’m thinking, “Is he getting monetized for this?” And then the ad comes up right away to answer the question.
CB: “minimax”
Me: “i’m listening”
CB: “In Python”
Me: “oh no”
I like to imagine that you actually use one of those really old computers for all testing then just transfer it to a newer one if:
A) it doesn't work
B) the computer is on fire
C) all of the above
The guy recently got a "supercomputer" (probably a server computer or a Threadripper workstation) for his Tetris AI brute-force project so that's probably what he uses nowadays for testing
Me: About to go to sleep
Code Bullet: LADIES AND GENTLEMEN!
I was already asleep
And that’s on not being from Australia
As a wise man once said,
"I've yet to meet one that can outsmart bullet."
But that man died.
@@GTAmaniac1 THE WISE MAN IS DEAD?
@@hadrienlondon4990 It is good day to be not dead!
@@gyaaizen pow! you are dead!
CB is dead!
I love the post-video rambling that he refuses to cut. Really brings the whole thing home
My friends"he codes with lot of profanity"
Me:"that's the only way I know"
I don't think I've ever written a program that didn't involve at least one session of rage-swearing.
Someplace, I have a copy of "Hello, $@#^! world", which throws a random profanity in each time it runs.
@@mtnbkr5478 I love that 😂😂😂 I took computer science 1 and 2 in college and it fucked me over so much. I had to take cs2 a second time cause I failed it the first time. There were many nights spent crying and raging over broken code that all broke because of one missed semicolon😂😖
@@Loch.Nessie I feel that so badly 😭😭 coding is pain
@@Loch.Nessie it takes time to become used to the syntax. with more experience, you can find the error easily.
me: doing homework
me: sees notification from code bullet
also me: home work is temporary, code bullet is forever
Lol same here
Same mate same
you mean eternal?
Why r u doin homework at 3 am?
What time is it for you? For me it’s midnight right now.
Me: coding C++ casually
*Forgets semicolons*
Me: *Loud audible sigh*
Rip
At least it ain't JavaScript, which doesn't care either way, but can occasionally produce...interesting results without 'em.
Or, when you forget an angle bracket and your templates get fucked.
Same here for the java gang
laughs in Kotlin
Use an IDE and a linter and don't worry about missing semicolons again. And for Javascript, while you can't do much about vanilla, if you're packing your code there's tools that will put them in there for you.
I think the “seeing 12 moves into the future” thing is still really good.
That's the first time I've ever seen an Australian flag on a leaderboard.
You haven't seen Olympic swimming then, have you?
@@TlalocTemporal Michael Phelps couldn't hear you over the sound of his gold medals....
That's because the Australians do leaderboards upside down and they compete for low scores
Check out Lazarbeam buying his way to the top of video game leaderboards
@@TlalocTemporal i dont watch half naked men play in the water
He doesn’t upload often but when he does holy shit is it quality. He makes some of the best content on here
@Andre Livingston okay Andre Livingston
@Alex Crowley okay Alex Crowley
"I'll probably dedicate to the flight sim" says the person who promised an enigma machine 2 years ago
Remember, in coding, copying from others isnt cheating it's learning, imagine if doctors just had to wing it during surgery