Programming Tutorial with Minecraft Turtles -- Ep. 2: Variables and Boolean Logic

preview_player
Показать описание
In this series, I teach you about programming by using Turtles in Minecraft. This is meant as a general purpose programming tutorial, and should help you learn any language.
This episode covers variables and boolean logic.

Music at the end is Cipher by Kevin MacLeod
Рекомендации по теме
Комментарии
Автор

That makes me happy to hear. It looks like this series probably won't get too many views, but I want to do it anyway because I think some people will really benefit from it.

SethBling
Автор

Who knew that a SethBling tutorial from 8 years ago is actually teaching me to code today..?

mickey_mousey
Автор

Yep, I'll be covering loops in the next episode.

SethBling
Автор

If you already know Python, C++, or Java, lua will literally only take a few minutes to learn. They all share extremely similar structures. Well, C++ is a bit more of a pain, since you've got to do a whole fucking bunch of extra shit, but it is a slightly lower level language if I'm not mistaken, so it generally runs faster and compiles quicker.

Sean_
Автор

for = counting. i = what number it is. and the last number is how far to go. In your instance, i =1, and it will count to 10.

for i = 1, 10 do
[insert action here]
wait()
end

asimo
Автор

Guess you'll miss out on my Mario-themed minecart station tutorial tomorrow. Oh, well.

SethBling
Автор

I'm definitely not going to only be doing this. It's additional content that I'm going to use to fill in days when I don't have anything to upload.

SethBling
Автор

I will just drop a response, as he might not see it / have time to reply.
1. You have send and receive parameters and attributes.
A method like "moveLeft(int y)" will be able to use the value of the "y" variable. It cannot be called without also sending in data for that variable. Then a for loop will use that "y" variable to determine for how long it should run, like:
"for i=x, i<y
code
end"
2. Yes, you can do inner loops and if else test as much as you like.
3. Yes, this is more complicated tho

AndersG
Автор

I feel like everyone who uses computers with any degree of regularity or depth should at least be familiar with the concepts behind how things work. For someone looking to gain a rudimentary knowledge on these issues, while also seeking to enjoy minecraft in a new way (e.g. me), you have really opened the door. You are really excellent at explaining all of this in a way anyone can understand. Thank you so much, and I really enjoy your LP series!

kitsvn
Автор

Very clever, disguising coding lessons as a minecraft tutorial. This is actually really fun

Albatross
Автор

If you know a lot of other languages, you should start a second channel based just on programming tutorials. Especially if you know C++, since I can't find a good source to learn it from =P

TheTastyCactus
Автор

You are amazing dude!! Lots of knowledge on programming and on minecraft as well, helping us out and even though you have over ~60 thousand views on your videos you still read the comments and reply!! You sir, are the boss

j
Автор

My favorite series on YouTube. Keep it going please!

MyChannelURL
Автор

Thanks for going over boolean values. It explains redstone logic gates to those who knew how to build them, but didn't know their purpose or why they were called and gates, or gates, exor gates etc. :)

MondoKraze
Автор

I definitely appreciate it, i knew a little about programming(very little) but I enjoy this series, please keep it going!

Grandmaster
Автор

I don't know if you will see this Seth but I really appreciate you doing this.

Shuester
Автор

i don't really like to answer on your commentary just for you to see it but i wanna garantee you'll se it:
THIS SERIE IS JUST AWESOME...
THANK YOU SO MUCH SETHBLING

JoaoHSP
Автор

I just realized how much this could help with redstone. Mind = Blown.

AwesomeMcNinja
Автор

Just want to say. Thank you Sethbling for this series, I do know the basics of programming but its always nice for more

daeuiot
Автор

I always learn something from these tutorials, despite the fact that I'm a moderately advanced programmer. Great videos, seth. ^^

itsMapleLeaf
welcome to shbcf.ru