Friday, 30 November 2018

25 Minecraft hacks of Christmas '18


Over the next 25 days I shall be recycling existing blogs and maybe a few new ones to look at 25 different coding experiments with Minecraft and Python.

Day 1: Modding interface with GUIZero. This experiment pulls together several previous coding experiments and cements them all into one GUI which can trigger a range of different array of block based events.

Read more here ...... Link

Day 2: This blog has a link to dozens and dozens of my Minecraft experiments from over the years. They are all linked into a pdf document called the 'hackpack' here is the link to the related blog .........Link

Day 3: Getting started with BitIO and MInecraft....... Link

Day 4: BitIO and Minecraft 'Tilting Rainbow Road'......... Link


Day 5: EduBlocks  and MInecraft getting started............ Link


Day 6: EduBlocks  and MInecraft ...........Amen to walking blocks............Link


Day 7: BitIO  and MInecraft 'Touching pins takes you places'...........Link


Day 8: Edublocks / BitIO and MInecraft..........The Liverpool Makefest Minecraft Pixel art Twitter bot........... Link


Day 9: BitIO and MInecraft  ''Minecraft CPU temperature graphing"


Day 10: Edublocks and Minecraft 'Bridging the gap between visual coding and text based coding with EduBlocks'.......Link

Day 11: MInecraft Education Edition My First Command Block.......Link

Day 12: BitIO and MInecraft : PixelCraft.......Link


Day 13: Minecraft Education Edition: Give inventory and changing weather.......Link


Day 14: BitIO and MInecraft 'Micro:bit Transport' ........LInk


Day 15: M:EE MakeCode 'Get coding'........Link

Day 16: BitIO and MInecraft 'Scalable Housing'..........Link

Day 17: MInecraft Education Edition: MakeCode Getting started........Link

Day 18: MInecraft Education Edition:MakeCode 'Wool Wall'........Link

Day 19: Raspberry Pi Minecraft controlling Lego motors .... Link

Day 20: Raspberry Pi and Minecraft: Pixel Cakes(RPI big birthday weekend resource)
...................link

Day 21:  Raspberry Pi and Minecraft: Pixel Craft 2.0......Link

Day 22: Raspberry Pi and Minecraft: Experiments with GPIO triggers and Minecraft
.......Link

Day 23: Minecraft Education Edition: Vertical farming ......Link

Day 24: Raspberry Pi and Minecraft: GPIO zero Minecraft "Whack on board Led's"
........Link

TUI Calculator/ binary to denary conversion



This is code covers:


  • Casting 
  • Functions 
  • Tui's
  • Basic input
  • Procedures
  • String element checking
  • Basic mathematical operators
  • Simple validation on binary section
It allows the user to chose from a text based menu and either:

  • add, subtract, divide or multiply two numbers that the user inputs
  • enter an 8 bit binary number and convert it denary
Here is the code:

Over

Monday, 26 November 2018

Lists and TUI's


Here is a program I used with year 9 to introduce list basic list functions and TUI's.
It contains:

  • selection
  • procedures
  • procedure calls
  • casting 
  • pop
  • remove 
  • lists 
  • append
It is a very simple simulation of a "game server" allows the user to add gamer tags, remove and pop off the end of the list. 

Here is the code : link

Tuesday, 6 November 2018

Micro:bit Express 2.0 'adjustable speed'



This is an incremental improvement to the original Micro:bit Express which went via remote control fwd and back and stop. The next project the Micro:bit controlled Ferris Wheel allowed you to adjust the speed within a small range. This project applies the same logic to the train with a greater range of speed.

You will need all the same kit as in the original blog here is the key info:


  • A video of the updated train in action link
  • Code for the updated remote link
  •  Code for the updated motor controller link 
Enjoy :)