ProCodeCG Kids Regular Coding Class 26 March 2016 – Improving Random Searching Algorithm in Python and Logic Gates with RedStone in Minecraft

Standard

We have a long holiday this weekend but we kept the class running even with a very few kids πŸ™‚

IMG_7983

One thread today was further improving a random search algorithm πŸ™‚ The left one is the improved one and on the right is the original algorithm.

Bildschirmfoto 2016-03-26 um 6.35.05 PM

The result is quite satisfying πŸ˜‰ 120 generations vs 12 generations πŸ˜€

Bildschirmfoto 2016-03-26 um 6.36.43 PM

Another thread was learning logic gates with Minecraft πŸ˜‰

Bildschirmfoto 2016-03-26 um 9.51.37 AM

Gaga is very expert on this, so he explained how it works in front of the class πŸ™‚

IMG_7984

Gaga got his own way in explaining things πŸ˜‰ Β He knows how to use logic gates!

IMG_7985

Ardi is also very good in using RedStone in Minecraft. He is working on creating automatic lights in a tunnel.

IMG_7986

This is the circuits Gaga created to make a tunnel with lights inside it that will turn on each time the door is opened.

IMG_7987

The lights are on the left and the right side along the tunnel. And will be fired up with a delay so they will not turned on once. This is so cool.

IMG_7990

Ardi and Gaga are discussing about their different ways on doing it πŸ™‚

IMG_7989

The outside look of Gaga’s tunnel design

IMG_7996

And this is the repeater that controls the lighting circuits.

IMG_7993

While Faris is busy working on Minecraft ver 1.9 on the main laptop in the front of the class.

IMG_7988

Minecraft 1.9 now has Elytra. It has a cape and will let the player to fly πŸ™‚ How awesome πŸ™‚

IMG_7991

Then things go ugly when Faris created command block that summons Creeper…

IMG_7994

And it just wouldn’t stop!!! Gaga came in rescue and help exploding those creepy creatures πŸ˜€

IMG_7995

And at the end of the class, Gaga explained in details how to create the automatic tunnel lighting in front of the class, yaaay πŸ™‚

IMG_7997

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s