Hello. So, I found a Mind Sweeper website with a leaderboard and I want my name in lights. Evan, I thought you were terrible at Mind Sweeper. How do you plan on getting on top of the leaderboard? The title, you [ __ ] We're using computers, baby. AI level one. Okay, so what's the lowest level shittiest AI you can think of? This is so much worse than that. Oh, we don't need to look at the screen. Hell, we don't even have any if statements in this bad boy. The plan is to pick a random tile and click it. That's it. Just [ __ ] click [ __ ] Can we beat Mind Sweeper by just clicking randomly? I doubt it, but it's a start. Okay, I coded that. Really wasn't hard. Uh, but let's try it out. I don't know what I expected, honestly. But this isn't as dumb as you think it is. To get on the leaderboard, we don't have to win every time. We just have to win one time. So, if we just have it click randomly for a bit and then click the reset button, eventually it has to win, right? Clicking for 4 seconds was very optimistic. We could probably speed that up. Oh. Oh, no. Oh, no. I can't stop it. Oh, [ __ ] Not again. I can't alt tab. Oh, help. What the [ __ ] is that? So, I had to shut down my computer. Anyway, I don't know what the odds are of winning Mind Sweeper by clicking randomly, but I don't imagine it's great. So, this makes this a game of speed. The quicker we can play, the more games we can play, and the more chances we have of getting stupid lucky. At the moment, the main bottleneck is me. I have to be watching and stop the program when we win. Otherwise, the program will just reset and keep playing like nothing happened. So, let's have the program check this pixel here. If it's black, then we win. And we can check if this pixel here is black to see if we've lost. Then we just had the program restart on a loss and stop on a win. And now we can finally send it at max speed. All right. Let's go, baby. All right. What the [ __ ] That's so fast. Go. Go. We might be able to do this. Go. I believe. I still believe. I think you can go on surely. It's going so far eventually. Yes. Oh my god. I can't believe that worked. How many games? It only took 2,944 games, but we got there, baby. So dumb. Okay. Okay, it's name time. Not Code Bullet. The perfect crime. I'm top of today. I'm top of this week. month. And oh, baby, we top of all time. We did it. We get it done. Easy, easy game. Before I run this on the intermediate map, let me tell you about today's sponsor, Opera GX. Welcome to the new and improved Opera GX. That's right. OP GX got a facelift, baby. But Code Bullet, wasn't Opera. Wasn't Opera GX already the sexiest browser around? What an amazing question. Yeah, he's here's your money. Did I do good? No, you [ __ ] it up. Now get off my screen. Opera GX is like Henry Caval or the low party evolution line. The low What the [ __ ] Who wrote that? It's like Henry Caval. Let's keep it at that. It looked good before, now even better. Anyway, this is the old OPA GX. Wow, pretty sexy. But look at this. We got new GX corner, new settings, new mod manager. All sexy. Speaking of mods, there is more customization than ever. Check out this Copy Barara mod. Of course, you can do all the awesome stuff you expect from OP GX, like custom wallpapers, custom keyboard sounds, custom background music, opening and closing tab sounds, browser themes, and colors. But now, you can do so much more. Look at this. So, you can even change the Opera GX icon at the bottom, like the logo. And watch what happens when you open it. Fantastic. That's beautiful. You can customize [ __ ] anything you want, down to the font they use in the settings menu. Customization to an unnecessary degree. They've even got a code bullet mod. But what if you're a Chrome user, and don't want to change all the bookmarks and stuff? Watch this. Settings, synchronizations, import, bookmarks, and settings. Import. Boom. You're done. You're welcome. It's free. It's easy to convert and it's better. And you can get it now using my link opport. gg/codebullet4 or just click the link in the description. You'll get a sick browser and you'll help support your boy. Okay, thank you. Back to the video. All right, that was actually way easier than I thought. I probably edited it because you can't have the attention span of a goldfish on ketamine. But that only took us 2 minutes and 35 seconds. That's a whopping 19 games per second. So, I know intermediate will be harder, but let's run this [ __ ] overnight and see what
Segment 2 (05:00 - 10:00)
happens. Okay. Yeah. Well, [ __ ] That did not work. Uh, I ran this for like 16 hours and no dice. This was our best attempt, which finished with 27 spaces left. Actually, that's wrong. That's a lie. This is our best attempt, but it kind of just gets dumb lucky and then immediately dies, which felt distinctly less impressive. I did a quick and probably vastly incorrect calculation of the chances to win and came out with a 1 in7 trill799 billion737,693. At the speed of our program, that would have taken 13,216 years to win. So, uh, yeah, not ideal. Which means we're going to need to go to AI level two. Okay, so unfortunately we're going to have to actually look at the screen now. Since all the numbers are a different color and have these pixels here overlapping, we can tell what number each tile is by simply checking that pixel there. We can also check to see if a tile is up or down by checking the color of the top left pixel. Also, if the tile is up and the program thinks it's a seven, then it's actually a flag. And we don't really actually have to worry about bombs because if we see those, then it's already too late. With all that coded in, our program now has complete knowledge of the game. So, let's add some logic. So, rule one is if the number of empty spaces around a number is the same as that number, then they are all bombs. This is admittedly very basic [ __ ] But a moment ago, we were clicking randomly, so it's actually a huge improvement. With this rule coded, we can send our new and improved AI to battle. Let's go. Oh, yep. Okay. Um, I guess that worked. I thought it I thought there'd be more clicks. Uh, but I guess that's a start. This is the most cursed way of doing this, but it's working. Okay. Let's actually have the code loop through it so I don't have to keep playing it like this. Oh yeah, there we go. Okay, I can actually now just play it and the program will take over whenever it sees a bomb. Hey, let me click. Let me you [ __ ] Let me click. No, no. We've already lost. It's already over. Not again. Okay, rule two. If the number of flags around a number is equal to that number, then all surrounding uncllicked spaces are safe. Just running rule two on this map does this. Okay, cool. Very nice. So, we got rule one, which detects bombs, and we got rule two, which detects safe spots. Now, if we put them together, we get some magic. Oh, what happened? Oh, it got stuck. What happens if I click Yeah. Wait, wait. 5 seconds is [ __ ] That's Camille level score. I'm shooting for the lowest possible score. The holy one second. Oh, baby. That's what I'm talking about. Yeah. Not code bullet and save. Wait. Where's my score? Where's my [ __ ] score? It was 1 second. What did you do, Camille? What did you [ __ ] do? Why? You even took my beginner score from me. Okay. It's fine. Let's calm down. Let's do some science. What happens if we get a new beginner high score? Okay. So, it appears that I have been shadowbanned. They probably saw my 1 second time on Intermediate and said, "Fuck off. " Which is, you know, fair. I'm guessing that they have my IP address stored somewhere. Uh, but honestly, what? Look at this website. You're telling me they have advanced IP tracking bot detection, but they can't change the hyperlink text from bot using the default font. Why do they have bot detection? What are you talking about? So, currently, if I win, nothing happens. My name doesn't get added to the high score. Nothing changes. But if I'm right and I've been IP shadowbanned, then what might happen if I change my IP address using today's sponsor, Opera GX's built-in VPN? Okay, now when do we win? Yes. Yeah, baby. We're so back. You don't with me. Get roll. So I tried to win expert with my current algorithm, but it kept getting stuck. Maybe if I ran this algorithm for ages, it would get lucky. But there's definitely more we can do. AI level three. We currently have two rules. But if you look up mind sweeper patterns, there are a ton of more rules you can add to figure out where the bombs are. But if you really think I'm doing all that, you don't know me at all. So, here's the plan. What we want is just one more rule that can encapsulate all of these rules. Such a rule sounds too good to be true, and it is for humans. But we ain't of humans. We're using computers. We look at all the border spaces and simulate every possible configuration of bombs. then we only keep the configurations that don't contradict the numbers and [ __ ] So, this one's invalid because there's like three flags and there's like a one. You guys know how blind super works. If there's only one possible bomb configuration, then it's too easy. We found it. We know where the bombs are. But what about when there are
Segment 3 (10:00 - 15:00)
multiple possible configurations? For example, this bad boy here actually has four valid layouts. If we play them on top of each other, we can see that these guys actually aren't changing, which means that in all possible configurations, these are bombs and these are safe. And if in all possible configurations something's a bomb, I shouldn't have to explain to you that it's a bomb. So now we know what to click and stuff. Okay, that's coded. Let's run it. Oh, death baby. Oh, wait, wait. [ __ ] I forgot to change the VPN. [ __ ] No, I took my intermediate score, too. Oh, man. And somehow someone has dethroned me on beginner. What? Okay, bring it on. I can do this. Come on, Canada. Okay, I got expert. Nice. Croatia, I believe in you. Croatia, come on. Wait, what? My expert time is gone now. Come on, Czech Republic. I always loved you. Unknown. What does that mean? Uh, my immediate time is gone. [ __ ] you, Czech Republic. I trusted you. Denmark. Come on, Denmark. Okay, we got that one. Good. Finland. Finland, I choose you. Finland, you [ __ ] I'm finished with you. France, come on. Don't make me forget this. Okay. Nice. Okay. Come on, Germany. You [ __ ] This is the worst thing Germany has ever done, I think. Okay. [ __ ] That's enough. Let's actually figure out what's happening here. Okay, here's what I learned. When submitting your score, if the IP has been shadowbanned, your score doesn't even show up. It's just immediately thrown out. I can't tell what gets you shadowbanned. Something like if your score is way too good or if you submitted too many high scores too quickly. Uh, something like that. If your IP is not shadowbanned, then your score sticks and you pass the first check. This stays until the server does a more advanced check. From what I can tell, this check is done every like 5 seconds or so. This advanced check is [ __ ] I don't know what they're doing, but I cannot seem to pass this. Even when I have a brand new IP and I get a score of nine, which isn't that good. That's like a tie with first place. Uh, that gets removed. So, with that new information, here's the plan. The goal is to get on top of all the leaderboards at once. They can get removed after that. I don't care. I just want a screenshot of me on top of all the leaderboards. So, here's the plan. All we need to do is get three high scores before that advanced check runs. That gives us about 5 seconds to beat beginner, enter my name, click confirm, click this to change to intermediate, beat intermediate, expert, beat expert, enter my name, and click confirm. All in under 5 seconds. Okay, let's do this [ __ ] Ready? Don't blink. Oh my god. Yes. There it is, baby. We're done. I'm free. Yeah. Top three of all leaderboards, baby. Victory. One more thing I wanted to do for absolutely no reason at all. But welcome to the channel. I wanted to do this map right here, which is as big as the site can go. Well, I can actually do a bigger like square, but that doesn't fit nicely on the screen. So, let it rip. Mine Super actually has a lot of situations that you have to guess. Like there's like a 50-50 shot of whether something's a bomb or not, especially when the map is this big. So, when there's a guess, we do the generate all possible configurations thing. Then, we pick the safe spot that shows up in the most configurations. Basically, we're calculating the probability of all the squares being a bomb and clicking the one that's the least likely to be a bomb. You might have already seen this, but I figured out how to change the cursor using Python. So, his cursor changes based on his current emotion. We got he says like [ __ ] when he's guessing and stuff. I don't know. I thought that was very funny. That took me like a day, but it was worth it. I also have him pause for a second when he's guessing. Um, for dramatic effect, not because my program takes a while to generate the probabilities. It's dramatic effect. With all the guessing it has to do, it's actually really hard to win. There really is no way of improving the AI from here. It's picking the mathematically best move possible, but it has to guess correct like five to 10 times on this map to win. I do really like watching this though. It reminds me of the bacteria or fungal growth time-lapse videos. I don't know. It It's very satisfying. Heat. Heat.
Segment 4 (15:00 - 16:00)
Okay, that's it. That's the video, which means it's Patreon battle time. Hello. Okay, welcome to the Patreon battle. If you haven't seen this, this is a thing I put on for my Patreons to show them some love and it's an excuse for me to yap. But another video, baby. That's two backto back. I'm crazy. This one is pretty chill. I actually had a lot of fun doing this one. Although, I really did not expect this [ __ ] site to have block detection. That's crazy. I picked it specifically cuz it looked like it didn't have bot detection. There are other more fancy Mind Swooper websites I could have chosen, but oh well. It made for a funny video, I suppose. I actually have done a video on Mind Swooper before. uh like [ __ ] 7 years ago. God damn. I just watched it after editing this and I was like, "Oh, I wonder how much I've improved. " And literally everything is the same. I mean, of course, like the editing and everything's completely different, but like my AI was exactly the same. I was like, "Fuck. " Anyway, congrats to Robert L. Today you got a Robert W. That's a [ __ ] joke. Shut up. I'm exhausted. I've done so much editing. Uh, anyway, Robert, you win some free merch from cobaltshop. com. Uh, I'll be in touch. Anyway, I'll see you guys very soon.