I Made Snake Game with just redstone!

Ойындар

Hi guys! Today I recreated the classic snake game with vanilla redstone. I hope you enjoy!
Patreon: / mattbatwings
Discord: / discord
My socials: linktr.ee/mattbatwings
My texture pack: modrinth.com/resourcepack/mat...
World Download: (JAVA 1.18.2) SPEEDUP RECOMMENDED
www.planetminecraft.com/proje...
@TheGunMasterDigital's video: • Snake in Minecraft [Su...
-------------------------
Want to get more involved in the logical redstone community?
Learn Logical Redstone! • Logical Redstone Reloaded
Open Redstone Engineers (ORE): openredstone.org/
0:00 Intro
0:32 The Big Question
1:34 Formal Algorithm
2:27 Implementations
4:05 Tail Removal
5:47 Input Handling
6:50 Head Spawning
8:31 Apple System
11:46 Better Display
13:19 Showcase
14:14 Subscribe!
Music (in order):
Gee - Electroswing Revival • Gee - Electroswing Rev...
Milky Wayvers - Love in Japan • Love in Japan
Blue Wednesday - Cereal Killa • Blue Wednesday - Cerea...
Phillip Scholler - Super Mario World Game Over Remix • Super Mario World Game...
Ivory - The Diadem Part 1 • ivory - the diadem pt.1
Harris Heller - Path Less Traveled • Path Less Traveled
Gee - Electroswing Revival • Gee - Electroswing Rev...
Harris Heller - 90's • 90's - Harris Heller
Manhattan Project - Harris Heller • Manhattan Project
Patricia Taxxon - Wavetable (Title Track) • Patricia Taxxon - Wave...
LitKidBeats - "GOOD VIBES" • [FREE] Happy Type Beat...
In My Shadow - Harris Heller • In My Shadow
Tokyo Rain - Harris Heller • Tokyo Rain
Undertale OST: 015 - sans. • Undertale OST: 015 - s...
LAKEY INSPIRED - Chill Day • LAKEY INSPIRED - Chill...
plutoxic - Minecraft SWEDEN (Calm 3) - 80s/synthwave remix • Minecraft SWEDEN (Calm...

Пікірлер: 738

  • @TheGunMasterDigital
    @TheGunMasterDigital Жыл бұрын

    Oh wow, did not expect to see myself in this video when I started watching it. Honored to be in it! Your wiring seems to be very similar to mine in the end haha, but super nice that you managed to fix my bug and upgrade the display (super cool idea). I only realized the issue after I finished building the whole thing. Did you manage to get your version to run at any decent speed? My clock had to be pretty slow to somewhat counteract all sorts of delays in the wiring, or otherwise it would feel super unresponsive.

  • @mattbatwings

    @mattbatwings

    Жыл бұрын

    I definitely took inspiration layout-wise (such as putting the apple system in the front rather than the back, genius move btw), but I really tried my best not to copy any circuits or logic directly so that I could still challenge myself. I’m also really happy I could fix the bug. I should say though, there does still exist an infinite snake bug in my game, but it involves 2 unlucky apple placements in a row, which is much more rare. It runs at about 100 redstone ticks per frame. I’m sure it could be optimized by maybe 50%, but beyond that you would probably need a different implementation. Also, now that you’re here, I’m really curious, how did you handle apples spawning on the snake? It seems like such a hard problem, but maybe I’m overthinking it. Cheers, and I’m glad you enjoyed the video!

  • @TheGunMasterDigital

    @TheGunMasterDigital

    Жыл бұрын

    @@mattbatwings Haha yes, I think the apple problem is really hard to deal with. I was surprised when you mentioned in the video that you messed with wiring to make the apple dodge the snake. But I did exactly the same thing you did in the end :) In my case the apple detection is not done in the cells themselves. I simply used the X/Y coordinates of the apple and of the head, and compared those against each other on each axis individually. So without conscious effort, my design already made sure that if the apple spawns in the body, it's just ignored. There is only one "proper" way of dealing with the apple that I could think of: detect when the apple spawned in the snake, and just respawn it. But of course if you're unlucky it could happen multiple times. So with a fixed clock rate this could break the game. This is the approach I took in the past for a minesweeper game though, where multiple mines could spawn on the same tile otherwise. Here the delay was no issue, since generation of the game could just take however long it needed to.

  • @Fulmine345

    @Fulmine345

    Жыл бұрын

    @@mattbatwings First of all congratulations for the creation and for the video. Might it make sense to compare the time between the creation of the apple and when it is eaten? If the apple is eaten immediately after being created then it means that it was created inside the snake, and therefore it must not stretch; otherwise, if some time passes, it means that it was created outside, so the snake can stretch when he eat the apple. I don't know if this solution makes sense or if it's feasible

  • @Gekoloudios

    @Gekoloudios

    Жыл бұрын

    Here's the slower but probably better solution: each time you need to spawn an apple, make a list of all the non-snake squares and then pick a random one out of that list. Then you can be certain that the apple cannot ever spawn inside the snake. This is also better than any 'repeat random gen' methods as those become hella inefficient when the snake starts covering up most of the screen. I think you'd find it really fun to try and make snake in actual code (without bugs), and you'd also learn a lot about how would be the best way to approach the game in redstone.

  • @TF2Starlight

    @TF2Starlight

    Жыл бұрын

    @@Gekoloudios if that was only so simple lmfao

  • @gninja2145
    @gninja2145 Жыл бұрын

    You should make the Bouncing DVD logo screensaver next, that would interesting

  • @balucsavo143

    @balucsavo143

    Жыл бұрын

    agreed

  • @bomba76

    @bomba76

    Жыл бұрын

    agreed

  • @berndl_3925

    @berndl_3925

    Жыл бұрын

    ModPunchTree did that on his cpu

  • @ajToncek

    @ajToncek

    Жыл бұрын

    Agreed

  • @limonlx7182

    @limonlx7182

    Жыл бұрын

    I'm pretty sure that's pretty much pingpong, which was done before, but with no gameplay.

  • @Mashpoe
    @Mashpoe Жыл бұрын

    I'm honestly surprised by how well a lot of programming logic can be translated into redstone. It looks very difficult, but I'm still surprised by how small you manage to make these circuits!

  • @thyst7014

    @thyst7014

    Жыл бұрын

    ayy it's mashpoe

  • @krajsyboys

    @krajsyboys

    Жыл бұрын

    Mashpoe! Please tell us there is going to be something similar to redstone in 4DMiner (I think you already did but I can't remember lol)

  • @Scotty-vs4lf

    @Scotty-vs4lf

    Жыл бұрын

    if u think about it all your doing is taking the functionality of the code and making an ASIC (application specific integrated circuit) for it. your just taking the code that would run sequentially on the cpu and making it combinational logic

  • @Mashpoe

    @Mashpoe

    Жыл бұрын

    @@krajsyboys not yet, but I want to add it eventually!

  • @mrgoblings

    @mrgoblings

    Жыл бұрын

    @@Mashpoe yooooo! cant wait :)

  • @sorrynotsorry8224
    @sorrynotsorry8224 Жыл бұрын

    While the snake's cells were 4x4, I was thinking you could make the apple 2x2 (just don't light the outer ring). It was a little difficult to differentiate between the snake and the apple, just as it was difficult to differentiate the snake's position, but you fixed that and in my opinion made the apple a little easier to differentiate.

  • @Giggle_Pig

    @Giggle_Pig

    Жыл бұрын

    thats what I was thinking as well

  • @dh4444

    @dh4444

    Жыл бұрын

    You and I thought alike

  • @elegabe3390
    @elegabe3390 Жыл бұрын

    Matt is probably the most creative players ive ever seen. im genuinely impressed on how he made some of these things in minecraft. this is awesome and keep up the good work!

  • @SpizNitrate
    @SpizNitrate Жыл бұрын

    Oh boy I'm sure excited for some brain-wrecking explanations on how you made this *_thing_* move through redstone!

  • @10F2C

    @10F2C

    Жыл бұрын

    hopefully it's not assembly.

  • @Hack--rz1io

    @Hack--rz1io

    Жыл бұрын

    @@10F2C wouldn't that require some general purpose computer?

  • @datbubby
    @datbubby Жыл бұрын

    Really cool! I just wish you had a separate video explaining the redstone more in-depth :)

  • @mattbatwings

    @mattbatwings

    Жыл бұрын

    Thanks! And I plan on it, eventually. Will be posted to my second channel instead of this one though.

  • @nateyingling9063

    @nateyingling9063

    Жыл бұрын

    @@mattbatwings what is your second chanle?

  • @mattbatwings

    @mattbatwings

    Жыл бұрын

    @@nateyingling9063 go to the “channels” tab on my profile , its called mattbatwings++

  • @GameRoMan

    @GameRoMan

    3 ай бұрын

    @@mattbatwings Make a tick-tack-toe and 4-in-a-row games

  • @LightslicerGP
    @LightslicerGP Жыл бұрын

    Amazing build, I love the inputs, very clean!

  • @Gekoloudios

    @Gekoloudios

    Жыл бұрын

    hi lightslicer

  • @LightslicerGP

    @LightslicerGP

    Жыл бұрын

    @@Gekoloudios wtf hi

  • @user-je9co6cr5i

    @user-je9co6cr5i

    Жыл бұрын

    @@LightslicerGP wtf y r u here

  • @JonDaFun
    @JonDaFun Жыл бұрын

    Wowza! Your builds keep getting more and more complex! This is amazing! A lot of the logic used for moving the snake I probably would have never thought of! Good job and keep up the good work!

  • @TechnoSpirit
    @TechnoSpirit Жыл бұрын

    Really impressive! As always.Very well explained and so interesting to watch!

  • @TechnoSpirit

    @TechnoSpirit

    Жыл бұрын

    Btw, congrats for the 100k!

  • @maartenkeus8627
    @maartenkeus8627 Жыл бұрын

    You honestly make such great videos, taking us through the whole process and all, abolutely love em!

  • @Pohakoo
    @Pohakoo Жыл бұрын

    Amazing video, your attention to detail and logical explanations are amazing

  • @noahfriesen284
    @noahfriesen284 Жыл бұрын

    I love your videos so much. They are really interesting, and the way you explain things helps me understand more complicated stuff.

  • @khoda81
    @khoda81 Жыл бұрын

    These videos are so well edited, he knows the line between things to keep and things to cut out of the video so well.

  • @AppledirtArchive
    @AppledirtArchive Жыл бұрын

    I really love the approach you take with these projects. How you encourage people to look up others who've done similar, to ask for help, in an environment where that sort of thing is often ridiculed for being "unoriginal" or "copying others". Thank you

  • @cricfan1880
    @cricfan1880 Жыл бұрын

    Genious! Awesome quality, KEEP UP THE GRIND🎉!

  • @crh5512
    @crh5512 Жыл бұрын

    You always manage too make ideas I will never think of! Great work!

  • @kbrack8823
    @kbrack8823 Жыл бұрын

    I loved this video. I always pause everything I'm doing and watch it. Love the content!

  • @joshua.h
    @joshua.h Жыл бұрын

    This was a really cool video. As someone currently in university studying software engineering seeing programming brought into my favourite game is really cool and all the logic you use really makes me think.

  • @Dimitri_gdr
    @Dimitri_gdr Жыл бұрын

    What is almost humiliating is that I would struggle to CODE snake in a programming language like python (lol) Big congrats on the project and also on the way you make everything look so simple

  • @kgaming7599

    @kgaming7599

    Жыл бұрын

    python is a bad language

  • @loopzys

    @loopzys

    Жыл бұрын

    @@kgaming7599 You have the word "gaming" in your name, how would you know?

  • @Dimitri_gdr

    @Dimitri_gdr

    Жыл бұрын

    @@kgaming7599 python is slow but it's very easy to learn it and use it

  • @mysingingmonstersfan1023

    @mysingingmonstersfan1023

    Жыл бұрын

    @@Dimitri_gdr he’s using python as an example of a huge variation in “difficulty”, like comparing scratch to C, sure scratch is not the greatest but the point still stands

  • @kgaming7599

    @kgaming7599

    Жыл бұрын

    @@mysingingmonstersfan1023 I said Python is a *bad* language, not a *difficult* language

  • @Slak3r
    @Slak3r Жыл бұрын

    The video format is just perfect. Insane work!!!!! Can't wait the next one.

  • @swardcrafter7002
    @swardcrafter7002 Жыл бұрын

    I love the new style of showing the build process before the showcase, keep it up, also great video and idea in general!

  • @BabyGirlNumber5
    @BabyGirlNumber5 Жыл бұрын

    Awesome due. I love how you can explain it like it is just some simple thing, but its actually brilliant.

  • @Keaton42
    @Keaton42 Жыл бұрын

    Finally a video that explains the redstone in ways I can understand it. You did a really good job on this, it's shown on paper and then simply shown how it would translate to redstone, not just "I cooked this monstrosity up in a couple hours, this is how it works:"

  • @Xeamless
    @Xeamless Жыл бұрын

    Great job! This is absolutely incredible. This seems so complex.

  • @kepler69c32
    @kepler69c32 Жыл бұрын

    nice one matt ! your ideas are just awesome and well executed as usual :) I also tried to do it, but I gave up because of the "apple on the snake" problem. also I was using an approach with signal strength counters for each pixel, but your approach is way better for doing the snake shape things you've shown at the end. damn I wish I had the same motivation to finish my projects

  • @kepler69c32

    @kepler69c32

    Жыл бұрын

    also I had an idea, you can use a xor gate with the apple signal and the snake signal, so that you can see the apple inside the snake. it's not very clean whatever

  • @vsdan4814
    @vsdan4814 Жыл бұрын

    Very good video, Matt!!! I love learning from u.

  • @dankdinoooo7143
    @dankdinoooo7143 Жыл бұрын

    I’m so glad that you always keep the computer science stuff in. I know some people just like to look at the build and don’t really care about how it works in-depth but as a fellow comp science student I really appreciate it

  • @HyperHrishiHD
    @HyperHrishiHD Жыл бұрын

    Very nice dedication! This was amazingly complicated but interesting and fascinating!

  • @Nyerguds
    @Nyerguds Жыл бұрын

    These videos really drive home how insanely complex computers really are, down to the binary level.

  • @jazziiRed
    @jazziiRed Жыл бұрын

    Super amazing and inspirational as always!

  • @tbmj
    @tbmj Жыл бұрын

    Love the videos bro, and I appreciate the mark rober music in the background while you're explaining things lol.

  • @sugle64
    @sugle64 Жыл бұрын

    I love your builds!

  • @valerianharnois2152
    @valerianharnois2152 Жыл бұрын

    as always your creation are mind blowing keep going it's some of the best minecraft content a have watched

  • @BreadCraft_
    @BreadCraft_ Жыл бұрын

    Waww, we could build this ad a minigame on the survival world of our channel!!! Good job bro! Can't wait to see the video!

  • @Profil2579
    @Profil2579 Жыл бұрын

    I love your videos dude, keep up the good work 👍

  • @RenderDragon
    @RenderDragon Жыл бұрын

    Congratulations with new aMAZEing project and 100k subs!

  • @--.._..--...--.._..--...--....
    @--.._..--...--.._..--...--.... Жыл бұрын

    Amazing video! Long time subscriber :) As a game developer might I suggest that since you already tagged the "head" node you can change the collision detection from "snake node" to "head node".

  • @Lucas-zw2mj
    @Lucas-zw2mj Жыл бұрын

    I love your thought process!!

  • @nathansayers6409
    @nathansayers6409 Жыл бұрын

    Nearly 100k subs keep up the good work 👏

  • @Kynatosh
    @Kynatosh Жыл бұрын

    Congrats on 100k! You deserved to grow. When I subbed you had like 15k

  • @sethsmith2608
    @sethsmith2608 Жыл бұрын

    congrats on 100k. Also I can't stop watching craftymasterman's bigg vault video. you were just so hilarious lol

  • @erlipp
    @erlipp Жыл бұрын

    This guy is insane. Just subscribed and loving ur content:)

  • @slate5778
    @slate5778 Жыл бұрын

    Seeing that you've released a video is always a pleasant surprise

  • @DJ-Art-Morris
    @DJ-Art-Morris9 ай бұрын

    Wow very nicely done. Subbed 🙌🏼

  • @theohornsby51
    @theohornsby51 Жыл бұрын

    The drop in the showcase was so good

  • @whirrrl
    @whirrrl Жыл бұрын

    every video i get more impressed good job, this is way beyond my capabilities

  • @sethcushman5454
    @sethcushman5454 Жыл бұрын

    Instead of trying to find all the possible free spaces to spawn the apple in order to avoid the snake, you could just generate a random place, and check if its a snake, and if so then go back to generating a space. The one problem is that it's possible that it could keep randomly picking spots where the snake is, delaying the game. In a normal computer, this doesn't really matter because it can do this so fast it doesn't matter as it is unnoticeable, but I don't know if the Minecraft version would be fast enough for that.

  • @cameron7374

    @cameron7374

    Жыл бұрын

    Well, you don't need to wait for the apple to respawn so it can keep trying while the snake moves. That way there may be a short delay before the new apple appears but I doubt anyone would care as long as it doesn't lock up the entire game.

  • @cubodix

    @cubodix

    Жыл бұрын

    minecraft ticks works the same way it doesnt cares the computer

  • @cameron7374

    @cameron7374

    Жыл бұрын

    @@cubodix It would still halt the snake game though, depending on implementation.

  • @bogdan_130.
    @bogdan_130. Жыл бұрын

    That's impresive;great job

  • @PPGtv
    @PPGtv Жыл бұрын

    As always good job

  • @JulianGaming007
    @JulianGaming007 Жыл бұрын

    Really exited for this one

  • @frankkismann680
    @frankkismann680 Жыл бұрын

    You are my motivation to try something like this, thanks to you I managed to make a program that shows letters on a screen, I really enjoy your videos, you are the best.

  • @SuperflyMN
    @SuperflyMN Жыл бұрын

    mattbatwings never ceases to amaze us

  • @Lincolnium_
    @Lincolnium_ Жыл бұрын

    SO CLOSE to 100k! Can’t wait!

  • @ProblematicParag0n
    @ProblematicParag0n Жыл бұрын

    The showcase beginning though, I will love that forever

  • @-Obuch-
    @-Obuch- Жыл бұрын

    So close to 100k congratulations 🎊

  • @Lucas-zw2mj
    @Lucas-zw2mj Жыл бұрын

    Wow you're almost at 100k!!! Wild!

  • @Peastable
    @Peastable Жыл бұрын

    This is great! One issue I could see though, your fixing of the infinite growth bug was only partial, if you eat an apple right as you’re passing your tail it would still probably happen. That is a pretty specific scenario though so for the most part it works fine.

  • @sodei-xu5je
    @sodei-xu5je11 ай бұрын

    your videos are so educating

  • @Gekoloudios
    @Gekoloudios Жыл бұрын

    when trying to create snake in code for myself, I came up with the timer method which I still think is the best but I guess this works aswell

  • @LightslicerGP

    @LightslicerGP

    Жыл бұрын

    Hi ogamero

  • @XENON2028

    @XENON2028

    Жыл бұрын

    how does that work tho

  • @Gekoloudios

    @Gekoloudios

    Жыл бұрын

    @@XENON2028 you can search it up

  • @phiwei2020
    @phiwei2020 Жыл бұрын

    I think these minigames are really cool. I love these games.

  • @TheEstebanz
    @TheEstebanz Жыл бұрын

    Great job!! I learned a lot, like if a lever powers a redstone lamp, it lights up...

  • @HelPfeffer
    @HelPfeffer Жыл бұрын

    Wow, nice! I'm definitely downloading this one

  • @CoelhoColho
    @CoelhoColho Жыл бұрын

    you made me have will to learn programing logic again!! great video!

  • @wanwood360
    @wanwood360 Жыл бұрын

    Cant wait for the next game matt!

  • @deadcakemix
    @deadcakemix Жыл бұрын

    Haven't seen one of your videos in away and good God your video quality is great

  • @JamAttack
    @JamAttack Жыл бұрын

    these are really cool but I always wish you'd show longer clips of them working in the showcase

  • @MudEater

    @MudEater

    Жыл бұрын

    Jamattack jumpscare

  • @ananrutii
    @ananrutii Жыл бұрын

    when i watch these videos i always marvel about how we've come so far in technology that we can make computers inside computers. and also it's fascinating to see how minecraft redstone shows us the complicated electrical mechanics that happen and work together inside a computer, to be able to play something so simple that we only need a couple lines of code in an IDE to make it.

  • @joeadams9744
    @joeadams9744 Жыл бұрын

    This inspired my to make snake in an online graphing calculator called Desmos. It was a fun little project and when I finished it I was just thinking, thanks Matt.

  • @Redmeteor200
    @Redmeteor200 Жыл бұрын

    Geez this is cool. Great job

  • @skmgeek
    @skmgeek Жыл бұрын

    oh. my. god. this is gonna be amazing

  • @ItzYeetus
    @ItzYeetus Жыл бұрын

    YOU'RE BACK!!! THANKS SO MUCH

  • @G0mu_Gomu_No_PISTOL
    @G0mu_Gomu_No_PISTOL11 ай бұрын

    When you said movement done I jumped out of my seat *YOU ARE INSANE* keep it up

  • @anormalname231
    @anormalname23110 ай бұрын

    nice video i learnd a lot

  • @matteocarassale1770
    @matteocarassale1770 Жыл бұрын

    Nice video as usual

  • @ItIsJan
    @ItIsJan Жыл бұрын

    i really love how you can understand most of the things you are saying withot ever having minecraft, just by simply having somewhat off an idea how computers work

  • @nil.11
    @nil.11 Жыл бұрын

    One of the first. Love ur vids! also can you put the music links in description when you make vidoes?

  • @mistercowboy202
    @mistercowboy2028 ай бұрын

    You are an absolute fucking genius man. You have an extraordinary talent and we are so blessed to have this shared with us.

  • @kjve3683
    @kjve3683 Жыл бұрын

    Great, some new knowledge to fill my brain.

  • @old-benkenobi7272
    @old-benkenobi7272 Жыл бұрын

    You make it look so easy, but it still is easier when you break it up into smaller steps for my 1 braincell to comprehend. Amazing video! Maybe you should consider doing Pac-man in the future, because its much harder

  • @WhoIsJoeRoblox
    @WhoIsJoeRobloxАй бұрын

    5:22 that bruh was personal 💀

  • @OpGaming-el5zk
    @OpGaming-el5zk Жыл бұрын

    Great work. i built a redstone computer based on your content. love your videos

  • @Dan_63
    @Dan_63 Жыл бұрын

    Nice video!

  • @ferrevandenberg1477
    @ferrevandenberg1477 Жыл бұрын

    'Why is it getting so big?!' Legendary quote, love these videos makes me wanna play mc again like i used to😋

  • @TheWagonroast

    @TheWagonroast

    Жыл бұрын

    The mitochondria is the powerhouse of the cell

  • @williamist
    @williamist Жыл бұрын

    yay more mattbatwings!

  • @justsomeguy5628
    @justsomeguy5628 Жыл бұрын

    If I'm not mistaken, there is still a theoretical bug that would make the snake not delete the tail. When the old problem happens, with an apple next to the head of the snake, then the snake eating it will cause the tail not to be removed, as it should. However, the next frame would have the segment right before the head where the tail arrow points, causing it to yet again not delete the tail. This would actually keep happening until the snake dies, but it is an edge case that might not actually cause the bug anyway. This is a great example of how seemingly complex games can be made (relatively) small if the person is good at computational redstone(like you). I always love seeing how you make these, and you vids are well made and easy to understand, making it feel like fun rather than learning, while still actually make us a little smarter in the process.

  • @firefl3y355
    @firefl3y355 Жыл бұрын

    Whenever I see older games like this being made in Minecraft it always makes me wonder if it would be possible to make a retro style console in game, like a NES or something, would definitely be cool to see!

  • @freezinater

    @freezinater

    Жыл бұрын

    I've seen Sethbling do an Atari back in the day using command blocks iirc. However the caveat was that frames took forever to render.

  • @avinkamu3822
    @avinkamu3822 Жыл бұрын

    Wow you have got some talent in Redstone man keep going

  • @TheMarshiiRose
    @TheMarshiiRose Жыл бұрын

    Mattbatwings is the best person I know when it comes to redstone like this

  • @Techmej
    @Techmej Жыл бұрын

    Mattbatwings makes us all smile! Let's give him the attention he deserves!

  • @nostera5142
    @nostera5142 Жыл бұрын

    Love it! It's just a big setup of nonsense to a redstone illiterate like me, but somehow I grasp the logic behind it. An other masterpiece.

  • @gamerdonuts5633
    @gamerdonuts5633 Жыл бұрын

    love your videos

  • @fluffyflufffluff1252
    @fluffyflufffluff1252 Жыл бұрын

    For the randomized apple, you could make it check for a collision like you did with eating the apple then if the collision is true pick a new random location. It will continually pick new random locations until it finds one that isnt on the snake.

  • @krosswastaken
    @krosswastaken Жыл бұрын

    great video once again ! have you ever tried anything else than redstone lamp as a display ? do you have any idea what you could use for redstone machines ?

  • @quirtthedirt

    @quirtthedirt

    Жыл бұрын

    Lamps are great because they're solid state and consistent timing wise, but I've seen builds that use pistons and some builds that use trapdoors. I think trapdoors are technically the best due to being solid state and instant but they have poor visibility so the tradeoff to use lamps is usually worth the tick of delay.

  • @ZeroPlayerGame
    @ZeroPlayerGame3 ай бұрын

    No way! That's almost exactly how I coded Snake in Pascal back in high school. Didn't even need a separate memory, just used characters on screen. Though I did store tail coordinates explicitly like head coordinates. That also solves the problem of passing my the tail.

  • @deepintermission
    @deepintermission Жыл бұрын

    Oh boy! I can't wait for this wonderful creation with hours upon hours of hard work and determination be stolen and get used in a youtube short that doesn't credit you! With all seriousness I hope that doesn't happen, fantastic job!

  • @Myself........
    @Myself........ Жыл бұрын

    This is the first vido i saw, that he made and I imedially subscribed

  • @stillminator942
    @stillminator942 Жыл бұрын

    So cool!

  • @tacogardevoir1794
    @tacogardevoir17948 ай бұрын

    I'm not a big redstone or programming guy but I think I came up with a decent system for snake off the top of my head. The only thing you need to keep track of would be the head position, and a value of each cell. The head logic is super simple being able to move into any space tracking a length value. each time you move into a space it first sees if the target space has an apple. If not, then then a new head is created in the direction given with a value of length+minimum snake size (possibly wrong but you'll see). Each time the snake moves, all segments except the head tick down by one, resetting to a blank space upon reaching 0. If the player is set to move into an apple, all current snake spaces and the head increase their length value by 1 before moving causing the end segment to linger for an extra movement tick. Then all you'd need to do is store the last direction of the head, and allow the snake to move onto snake spaces if their value is 1 so you can go where your tail just disappeared, and apply a loss and reset condition upon contact with the edge of the playspace or a snake tile and you should be done. Like I said I'm not versed with coding beyond old scratch programming but I thought of this and was proud of myself. Edit: I just watched further and realized that my method would also help with apple spawning as all you have to do is set the apple to not spawn on a space with a length value of more than 0, as well as making it not spawn after the snake "Moves" so you don't need to worry about it spawning on the space you are moving into.

  • @SourMnMs
    @SourMnMs Жыл бұрын

    I love how I can’t understand a single thing he says about redstone but it just sounds so cool.

Келесі