I Made Minesweeper with just Redstone!
Ойындар
Patreon: / mattbatwings
Discord: / discord
My socials: linktr.ee/mattbatwings
My texture pack: modrinth.com/resourcepack/mat...
World Download: (JAVA 1.18.2) www.planetminecraft.com/proje...
How to use the Python Script: docs.google.com/document/d/1_...
Digital Logic Animations were created with the help of a tool made by @SebastianLague github.com/SebLague/Digital-L...
-------------------------
Want to get more involved in the logical redstone community?
Learn Logical Redstone! • Logical Redstone Reloaded
Open Redstone Engineers (ORE): openredstone.org/
0:00 Introduction
0:26 How to Play
1:36 Initial Thoughts
2:31 Display Module
5:00 User Interface
5:41 Flag Signal and Open Signal
7:55 Mine Counting
11:07 Zero Spreading
13:03 Win/Lose Detection
15:27 Mine Generation?
16:10 Showcase
17:19 Subscribe!
Music (in order):
Helynt - Steam Gardens • Mario & Chill ~ Steam ...
Harris Heller - Path Less Traveled • Path Less Traveled
Harris Heller - Guilty Spark • Guilty Spark
LAKEY INSPIRED - Chill Day • LAKEY INSPIRED - Chill...
Harris Heller - 90's • 90's
Infraction - Serotonin • Vlog Lo-Fi Chill by In...
Alexander Nakarada - Favorite • Favorite - Alexander N...
Gucci Louis - Rap Beat 2 • Gucci Louis - Rap Beat 2
Harris Heller - Plethora • Plethora
Harris Heller - Tokyo Rain • Tokyo Rain
Home - We're Finally Landing • Home - We're Finally L...
Harris Heller - Streamline • Streamline
Sascha Ende - Finger ins Ohr • Sascha Ende Finger ins...
Harris Heller - Golden Age • Golden Age
Helynt - Continue • Continue
Oxart - Living Mice Synthwave Remix • C418 - Living Mice (Sy...
Пікірлер: 577
Hi guys, thanks for watching! A couple FAQs: “50/50s were allowed in the original game. Doesn’t that mean 8s are necessary?” Yes, if you’re talking about the classic version of minesweeper. At the time, I genuinely didn’t know the original game allowed 50/50s. My entire career of playing minesweeper consisted of playing the google version a few times, of which I never ran into a 50/50, so I wrongly assumed the random generation will just avoid it. This is also why I gave up on random generation. Probably should've played a few more games / done more research lol “Can’t you cheese the win detection logic by flagging every cell?” Nope! The logic is based on the open signal and the mine signal, not the flag signal. The “Face” column is a bit misleading, whoops!
@WhaouTvOfficiel
4 ай бұрын
You are the Goat 🦇🟩
@deleted-something
4 ай бұрын
Is the designed to make you not lose if the one first open would’ve otherwise been a mine?
@ibrahimali3192
4 ай бұрын
@@deleted-something the generation comes from an actual minesweeper website, which removes the possibilities of the first cell being a mine
@Jiglias
4 ай бұрын
I wonder if you could you a similar function as zero spreading to also allow for chording
@user-hp3wk9mn8z
4 ай бұрын
Btw you basically made an xor gate for the closed sell thing 7:15
For anyone wondering, the logic gate animations he used are from Sebastian Lague's Digital Logic Sim, it's a great watch. I definitely recommend. edit: correcting grammar
@purpleskrim6935
4 ай бұрын
NOOO you stole my comment
@chainerfries4417
4 ай бұрын
I was so confused when he started using them and thought I was getting them switched
@orangetopaz_
4 ай бұрын
I was about to say! Sebastian lague ftw
@Kaenguruu
4 ай бұрын
Yeah would've been nice to see some credit to him in the video
@chainerfries4417
4 ай бұрын
@@Kaenguruu did you know you repeated the same comment 11 times?
No way!! I’ve been obsessed with Minesweeper recently and got my mom hooked on it too! Did you read my mind or something???? I can’t wait to see this!!
@KonigTheV
4 ай бұрын
Same😅
4 ай бұрын
people always "read my mind"
@Hippolytos
4 ай бұрын
how?
@subscheme
4 ай бұрын
SAME
@subscheme
4 ай бұрын
not obsessed but have been enjoying it
I knew you were gonna do some 3-dimensional redstone to fit the circuits in the cells, but MAN this staircase signal strength arrangement is sweet. congrats
Prediction: the logic will be simple, the vertical number display will not, unless the display is horizontal in which case easy build.
@pavelmatusu4457
4 ай бұрын
Yeah pretty much, the majority of the build space is taken by the display, the actual game is quite small and simple
@Prypak
4 ай бұрын
the vertical number display will not what ?
@pavelmatusu4457
4 ай бұрын
@@Prypak read it again bro. He means The logic WILL be simple, the number display WILL NOT (be simple)
@Jiglias
4 ай бұрын
@@pavelmatusu4457 you should be using square brackets not parentheses
@pavelmatusu4457
4 ай бұрын
@@Jiglias You're right , i just didn't care enough to find them on my android keyboard.
I used to be so confused about how the first computers were made because don't you need a computer to code a computer but your videos really helped me understand how that was possible. Your videos are so interesting and entertaining, thanks for making them.
@1mariomaniac
4 ай бұрын
The first computers were actually incredibly big! Usually taking up most of a room in fact! They'd compute complex mathematical operations, and even basic simulations. They were programmed and given inputs via punch cards, which would then be processed, and depending on the operation, would either install whatever simple program you punched out, or would display an output via lamps, printer, or electric typewriter. The IBM 350 RAMAC is a great example of such a system. Capable of storing 62,500 punched cards worth of data (roughly 3.75Mb) which was incredibly impressive in 1956!
@vampire_catgirl
3 ай бұрын
^ So big that literal bugs could easily make their way inside and then mess up the system, which is where the programming term "bugs" comes from in the first place
This man is literally making the craziest contraptions ever built in mc, and somehow he just keeps on giving. Man you're a legened
you should have kept 8, its a really small chance but sometimes you could get an 8 on the first cell you click
@zutaca2825
4 ай бұрын
but if you do that, you have to guess what cell outside of the 3x3 surrounding it doesn't have a mine, and he wanted to avoid boards where you need to make a 50/50 guess
@Waluigiredstone
4 ай бұрын
also he should make a flag counter or some from of flag spam detector. you can just win by flag all the blocks
@Lcfp
4 ай бұрын
@@Waluigiredstone you're absolutely right. Furthermore you don't have to flag all the mines in order to win, they just need to remain closed, so the correct win condition is not "all the cells are either open and not mines, or flagged", but "all non-mine cells are open"
@mattbatwings
4 ай бұрын
@@Waluigiredstone check the pinned FAQ!
@rahevar3626
4 ай бұрын
No you can't get an 8 on the first click. Infact you can't get any number on first click. In the game first click always results in a zero. Otherwise you would need to guess for the next cell
This Guy is the Chuck Norris of Redstone
Amazing. Saw your post on Reddit and thought, “this looks like something Matt would do” then I checked the user and sure enough! I was kinda hoping hitting the mine would blow the whole game up in the showcase, we gotta raise the stakes 😂. It would also be nice to see a mine counter, as well as a question mark marker for the cells you’re not too sure about, but that last one isn’t too important. Additionally I would be very interested in a series that serves as an in depth guide to each of these machines starting from more basic games and gradually becoming more difficult. I think I’d learn a lot more that way! Love the content! You never let me down. Can’t wait to see what you come up with next!
I coded one on my TI-82 calculator almost 20 years ago, i'm amazed to see a Redstone version of this game ! The zero spreading is really elegant, well done !
Finally bro...took ya long enough
@WhoIsJoeRoblox
4 ай бұрын
yea, it will prob be better than urs (joke i suck at redstone)
I was expecting the board to blow up when you found a mine in the showcase hahaha. Awesome stuff! This was a really fun video to follow along, and some super neat tricks I wouldn't have thought of :)
Nice video! This is such a fun project too, I remember building my own in the past. It's perfect for not being too difficult, yet still being fun and satisfying to play, even if it's quite slow due to redstone's speed limitations.
I swear next this guy is gonna make a supercomputer in minecraft
@NuclearCentipede
4 ай бұрын
No he’s going to make google and a working WiFi router and then he’s going to add a supper computer so he can make his PC but better in Minecraft
@johnray854
4 ай бұрын
@NuclearCentipede yeah what this guy said
@ZephyrysBaum
4 ай бұрын
A supper computer sounds delicious!
@peanutatomic
4 ай бұрын
@@NuclearCentipede fr
It's always a pleasure every time you explain how the game works and the components associated with it.
I love that you used the logic simulator by Sebastian Lague in the win/lose section (13:03)
@cryingcrown
3 ай бұрын
Same Sebastian is how I learned digital logic, funny enough I watched the tru state logic video years before I watched the full series
You should share this video with Xumavoid on Hermitcraft, he's been cracking away at trying to build a more elaborate version of minesweeper (The mine sweeper game despenses TNT when you click a mine).
Thats all i wanted somone to do
@squax1465
2 ай бұрын
Ur first
This guy needs a trophy for all his redstone builds
I think i'm a bit *too* early...
@NuclearCentipede
4 ай бұрын
I am way too early (7 hours early)
@thecossackfromukraine
4 ай бұрын
Yeah same
@gendo1123
4 ай бұрын
It's starting
@VGCCCCC
4 ай бұрын
Same
@Ierzi
4 ай бұрын
Not me
You forgot the most crucial part!!! You should've made a map where the lose condition activates tnt that's spread all over the circuit That's like... The most fun thing to watch in minesweeper
You’re the most impressive redstoner by far. Both because of the absurdity of your builds and the simplicity you explain things with
I had to code Minesweeper as a final project in my programming class. Detecting adjacent mines really was as simple as a for loop. As I was watching I was thinking about how it would be possible to do each step in redstone, and each time you revealed a step my mind was blown and I audibly said "that's so cool" or "that's so smart." I kinda wanna try it out myself now even if I know I won't be able to do it
This is perfect, I appreciate your work, keep doing more of these!
I'm amazed about how well it came out! Also thank so much for putting the music you used in the description.
i like that every huge redstone game building looks like real micro scheme
The way you explained this made it look easy. Another great video!
The showcase was Emotional 😭
Cool that you used Sebastian Lague's logic sim!
@cryingcrown
3 ай бұрын
I love digital logic sim I followed the series as I made it in the program last year
One time I was playing Minesweeper in normal difficulty. When I just clicked a random cell all the safe cells opened due to zero spreading and I instantly won!!!
I joined back in the 12k days. Fascinating to see how far you’ve come
14:42 this logic seems to imply that you could win via flagging everything which is what i assume actually happens unless u have it ALSO lose if u try to flag a nonmine
Really impressive and intuitive stuff, man! Keep up the great work! :D
As awesome as this build is, far more impressive than I could ever do, I think rigging the game to explode when you lose would've been the cherry on top.
Why not add a random mine generator? Normal minesweeper has 50/50 guesses all the time, you don't have to account for that
Now make an algorithm that plays the game IN MINECRAFT😏. Or can`t you?
Love the content. You explain things very thoroughly and I enjoy watching you every time you upload!
Funny how this one was one of the more simple ones despite looking like it should've been one of the most complicated ones
The fact this guy can code anything and then translate it to redstone is insane
Now just add TNT when you lose and fireworks when you win. Done.
There are absolutely situtations where an 8 is findable without guessing. Zero mine count comes to mind, or a fully accounted for mine count. Its also pretty easy to display mine count for something like this, it doesnt even need to constantly update.
I've gotta say, the problem solving and creativity on this one has been very impressive. Keep up the great work dude.
Don’t think we didn’t notice you used Sebastian Lague’s Digital Logic Sim for those truth table graphics I’d recognize those colored boxes and red wires anywhere
@cryingcrown
3 ай бұрын
Same, he is where I learned digital logic
Absolutely amzing work
now make Minecraft in minesweeper fun fact: minesweeper is Turing complete for a similar reason that the Game of Life is
The fact that you didn't blow it up with TNTs in the end was highly unsatisfying (/j, this is impressive!)
"Mind Sweeper" this is what displays in subtitles when you say"Minesweeper"
bro you are so good hats off
This is possible one of the best illustrated videos Matt has made Awesome vid matt
12:50 - IKR! In the end it's like you do your stuff and tell others if you've done it so they can see if they have to do as well. it's the event pattern, very efficient and one thing to use a lot in game dev.
Fun fact, wich goes hand in hand with board generation. In the official game the board actually isn't generated until the first click. This is because your first click will ALWAYS be a 0/empty space.
It is rare to see such a great and detailed explanation with this kind of builds… thanks!
this was amazing i hope you make something revolutional to the Redstone community one day
YESS!! ANOTHER UPLOAD!!! :D
Lol I recognise that logic gate visualiser at 13:53. It's the one made by Sebastian Lague, right? It's so cool, I love that it exists!
@user-dd3cl5yq4t
4 ай бұрын
Me too
@cryingcrown
3 ай бұрын
Yeah I love Sebastian it’s how I learned digital logic
This is so satisfying, well done
Imagine, instead of showing a frowning face when you loose, the whole thing would just blow itself up
woah i was just thinking of trying to make something like this! this is insane, holy shit. kudos to you!
8:57 Aha! I was spot on, I figured you were just subtracting one for each of the nearby mines then subtracting that result from eight to get the number of mines! Of course, if I continue watching only to find out that that's not actually what you did...
You never cease to amaze. Great work!
Always crazy good videos!
You make it look so easy lol. Great job !
This should be good.
@4_7D
4 ай бұрын
fr
The "open redstone engineers" Minecraft server, or ORE, has a LOT of projects like this. Something to check out if you're interested.
Another brilliant work Matt! Have you tried making Dots and boxes? It doesn't have as much logic as this, but it's another project you could add to your to-do.
Bro, that is insane. No words. You are literrary crazy.
this is amazing. I would like to play this as minesweeper is amazing!
Nice! I remember Sethbling's minesweeper, it's interesting how far things have come.
Glad you went with guess-less minesweeper. Congrats on cool video 💜
I was honestly expecting a randomized board, and I thought you were going to do something similar to Sethbling's roulette table, just with multiple of them. Still very impressive, loved the video, always a good day when you upload!
Amazing ! Love it !❤
NOOOOO I had the literal same idea but you outsped me
“It’s quite simple really”
This is really cool. Theoretically, you could add a difficulty level where you just multiple the size of the table, and use the old cells as new individual redstone lamps.
The fact that this is all made with redstone also means that it is possible to build in survival with enough time put into it.
you forgot an extremely important rule in minesweeper. it goes like this: if the first attempt tried is generated as a mine, the game will quietly change the mines position to an empty tile. This is also known as the grace rule or grace period.
I feel like it would have been much funnier if the indication for a loss were to be a massive explosion; regardless, this is SO FCKING COOL!!!
Im just getting inn to coding and this is awesome! Always love your videos🎉
you could just flag every space and just win
the one reason I don't play minesweeper more often is because many versions aren't designed in a way that makes all layouts possible to deduce, a lot of layouts end up having small chunks that can only be guessed and it's just annoying
THIS WAS AMAZING
Really nice, its amazing what just redstone can do with a bit of clever thinking. however i think i've seen a colored redstone lamps mod somewhere, maybe that could be used to do something cool
Make a 2 color display! Black, white and mixed for each pixel and use it in a game
I also made a minesweeper, but now I see that I could have done it much better. Nice project.
11:30 Well, even though I just made a game of Minesweeper, not in Minecraft though, I still assumed zero spreading was surely some technical Redstone thing as opposed to a Minesweeper thing. Of course, I've never referred to it as zero spreading.
Massive respect to this KZreadr.
You should’ve added some no luck needed to tell people when they won or lost I think that would be a really cool addition
Honestly I would have just left the zero spreading up the the player lol. However, your implementation of it is beautiful. Also, I once made a very different kind of redstone minesweeper that was much simpler but unfortunately a one time use device if you lost. Each cell was just one block and had some generic block like stone on top. You could "click" a cell by breaking the block or "flag" it by placing a carpet over it. Under the top layer would either be an iron block for a 0, blue concrete for a one, green concrete for a 2, etc, etc, so it was all color coded. If you clicked/broke a block with a mine under it, there would instead be an observer with a tnt block underneath which would then detonate. Each game had to be manually constructed and it generally killed you and also destroyed the whole board if you lost.
I can't tell you how many times a game of minesweeper has come down to a 50/50. Most don't try to avoid it.
"Pretty cool, right?" Dude thats just witchcraft
THE LEGEND IS BACK
I don't know what I'm more impressed by: the fact that you were able to code all this in redstone, or that you even knew how to beat minesweeper in the first place
i love how you make computer science concepts approachable for people
it's insane to me how people are able to adapt to a new universe with new laws of physics (ie redstone wires having a strength meter built-in to them vs real life wiring would take such complicated systems to implement the same thing that it wouldn't be worth it) and come up with such creative solutions to take advantage of them! This is on the same level as early pinball machines to me... just an amazing feat of electromechanic engineering and code done within a different universe.
This is cool I made something similar to this but not in minecraft. Keep up the good work I like this stuff
matt i dare you to use the "more red" mod, aswell as one of the many redstone circuit/gate mods and make something that would usually be massive with vanilla redstone
like how you use sebastian lagues digital logic sim
bro just pulled out the Sebastian Lague logic gate simulator noice man
@AngelOchoa-te2sd
4 ай бұрын
Also noticed that
You went a lot further than I would've thought already, but my favorite convenience feature is missing: in most versions, clicking an unlocked tile will unlock all the neighbors that aren't flagged. I bring it up because I actually think it's pretty easy to implement, at least logic wise: send the same signal that zero-spreading does to its neighbors, block that signal when it's flagged. The hardest part would probably be finding space for that wiring.