SlideShare a Scribd company logo
1 of 19
>> Coding with
Digital K @1001011k
ICTE NSW conference 2015
Who is this for?
• Teachers and students
with an interest in
Minecraft and/or
wanting to learn to
code
• Recommend ages
10 to 16
pic: Kiama Library
Why Minecraft?
• High engagement
• Relatively low
cost
• Code your own
creations
pic: K Jarrett
A path into coding
• Many kids already using commands in Minecraft
Minecraft Pi API
Developed by Mojang for the free Minecraft Pi edition
A simplified way to send commands to Minecraft
server using Python (or Java)
eg. to place blocks
move the player
check if a block has been hit
What you can do:
• Build faster
• Larger structures /
shapes
• Duplication
• Animate blocks eg.
change colour
• Games within a
game
Option 1
+
+
Raspberry Pi
Keyboard, monitor,
mouse
( preloaded ) OR
Option 2
PC / Mac
Raspberry
Juice plugin
+ +
+
How it works:
Your
code
Server Minecraft
Minecraft API
libraries
Examples:
Hide and Seek game
Office towers
Learning outcomes:
• Geometry
• Multiplication
• Time
• Data
and more … !
• Art
• Design
• Geography
pic: Martin O’Hanlon
Connect to external devices
• Electrical circuits with Raspberry Pi or Arduino
• Pi Camera
source: www.stuffaboutcode.com
• Computercraft mod
(requires Forge mod installed)
Other options:
www.computercraft.info
www.learntomod.com
$30 for software & learning materials
Learn to Mod
More info:
www.raspberrypi.org
www.stuffaboutcode.com
Get coding !
pic: Wesley Fryer
Digital K
@1001011k

More Related Content

Similar to Coding with Minecraft

Building machine learning models that could predict the next bitcoin
Building machine learning models that could predict the next bitcoinBuilding machine learning models that could predict the next bitcoin
Building machine learning models that could predict the next bitcoinRuxandra Burtica
 
Predict the oscars with data science
Predict the oscars with data sciencePredict the oscars with data science
Predict the oscars with data scienceJustin Ezor
 
(AI Bot - Azure Cloud) Hiram Fleitas - It's a'Bot Time
(AI Bot - Azure Cloud) Hiram Fleitas - It's a'Bot Time(AI Bot - Azure Cloud) Hiram Fleitas - It's a'Bot Time
(AI Bot - Azure Cloud) Hiram Fleitas - It's a'Bot TimeHiram Fleitas León
 
Create Minecraft Worlds with ArcGIS and the Data Interoperability Extension
Create Minecraft Worlds with ArcGIS and the Data Interoperability ExtensionCreate Minecraft Worlds with ArcGIS and the Data Interoperability Extension
Create Minecraft Worlds with ArcGIS and the Data Interoperability ExtensionSafe Software
 
Open Sesame: Picking Locks with Cortana
Open Sesame: Picking Locks with CortanaOpen Sesame: Picking Locks with Cortana
Open Sesame: Picking Locks with CortanaPriyanka Aash
 
Open Sesame: Picking Locks with Cortana
Open Sesame: Picking Locks with CortanaOpen Sesame: Picking Locks with Cortana
Open Sesame: Picking Locks with CortanaTal Be'ery
 
Cross platform continuous delivery - A grand unified theory
Cross platform continuous delivery - A grand unified theoryCross platform continuous delivery - A grand unified theory
Cross platform continuous delivery - A grand unified theoryJustin Caldicott
 
Building STEAM Skills in Minecraft One Block at a Time
Building STEAM Skills in Minecraft One Block at a TimeBuilding STEAM Skills in Minecraft One Block at a Time
Building STEAM Skills in Minecraft One Block at a TimeMargaret Portier
 
Developing applications and games in Unity engine - Matej Jariabka, Rudolf Ka...
Developing applications and games in Unity engine - Matej Jariabka, Rudolf Ka...Developing applications and games in Unity engine - Matej Jariabka, Rudolf Ka...
Developing applications and games in Unity engine - Matej Jariabka, Rudolf Ka...gamifi.cc
 
IoT Workshop Louisville
IoT Workshop LouisvilleIoT Workshop Louisville
IoT Workshop LouisvilleMike Branstein
 
IoT Workshop Indianapolis
IoT Workshop IndianapolisIoT Workshop Indianapolis
IoT Workshop IndianapolisMike Branstein
 
Build and Host Real-world Machine Learning Services from Scratch @ pycontw2019
Build and Host Real-world Machine Learning Services from Scratch @ pycontw2019 Build and Host Real-world Machine Learning Services from Scratch @ pycontw2019
Build and Host Real-world Machine Learning Services from Scratch @ pycontw2019 Chun-Yu Tseng
 
KiZAN IoT Workshop - Memphis
KiZAN IoT Workshop - MemphisKiZAN IoT Workshop - Memphis
KiZAN IoT Workshop - MemphisMike Branstein
 
IoT Workshop - Waukesha
IoT Workshop - WaukeshaIoT Workshop - Waukesha
IoT Workshop - WaukeshaMike Branstein
 
IoT Workshop Nashville
IoT Workshop NashvilleIoT Workshop Nashville
IoT Workshop NashvilleMike Branstein
 
IoT Workshop Cincinnati
IoT Workshop CincinnatiIoT Workshop Cincinnati
IoT Workshop CincinnatiMike Branstein
 
Hardware Hacking in schools (ACEC2014)
Hardware Hacking in schools (ACEC2014)Hardware Hacking in schools (ACEC2014)
Hardware Hacking in schools (ACEC2014)Dan Bowen
 

Similar to Coding with Minecraft (20)

Building machine learning models that could predict the next bitcoin
Building machine learning models that could predict the next bitcoinBuilding machine learning models that could predict the next bitcoin
Building machine learning models that could predict the next bitcoin
 
Maker Boot Camp
Maker Boot CampMaker Boot Camp
Maker Boot Camp
 
The Age of Data and AI - Derek Reedy, IBM HyperBlue Fund
The Age of Data and AI - Derek Reedy, IBM HyperBlue FundThe Age of Data and AI - Derek Reedy, IBM HyperBlue Fund
The Age of Data and AI - Derek Reedy, IBM HyperBlue Fund
 
Predict the oscars with data science
Predict the oscars with data sciencePredict the oscars with data science
Predict the oscars with data science
 
(AI Bot - Azure Cloud) Hiram Fleitas - It's a'Bot Time
(AI Bot - Azure Cloud) Hiram Fleitas - It's a'Bot Time(AI Bot - Azure Cloud) Hiram Fleitas - It's a'Bot Time
(AI Bot - Azure Cloud) Hiram Fleitas - It's a'Bot Time
 
Create Minecraft Worlds with ArcGIS and the Data Interoperability Extension
Create Minecraft Worlds with ArcGIS and the Data Interoperability ExtensionCreate Minecraft Worlds with ArcGIS and the Data Interoperability Extension
Create Minecraft Worlds with ArcGIS and the Data Interoperability Extension
 
Open Sesame: Picking Locks with Cortana
Open Sesame: Picking Locks with CortanaOpen Sesame: Picking Locks with Cortana
Open Sesame: Picking Locks with Cortana
 
Open Sesame: Picking Locks with Cortana
Open Sesame: Picking Locks with CortanaOpen Sesame: Picking Locks with Cortana
Open Sesame: Picking Locks with Cortana
 
Cross platform continuous delivery - A grand unified theory
Cross platform continuous delivery - A grand unified theoryCross platform continuous delivery - A grand unified theory
Cross platform continuous delivery - A grand unified theory
 
Building STEAM Skills in Minecraft One Block at a Time
Building STEAM Skills in Minecraft One Block at a TimeBuilding STEAM Skills in Minecraft One Block at a Time
Building STEAM Skills in Minecraft One Block at a Time
 
Developing applications and games in Unity engine - Matej Jariabka, Rudolf Ka...
Developing applications and games in Unity engine - Matej Jariabka, Rudolf Ka...Developing applications and games in Unity engine - Matej Jariabka, Rudolf Ka...
Developing applications and games in Unity engine - Matej Jariabka, Rudolf Ka...
 
IoT Workshop Louisville
IoT Workshop LouisvilleIoT Workshop Louisville
IoT Workshop Louisville
 
IoT Workshop Indianapolis
IoT Workshop IndianapolisIoT Workshop Indianapolis
IoT Workshop Indianapolis
 
Build and Host Real-world Machine Learning Services from Scratch @ pycontw2019
Build and Host Real-world Machine Learning Services from Scratch @ pycontw2019 Build and Host Real-world Machine Learning Services from Scratch @ pycontw2019
Build and Host Real-world Machine Learning Services from Scratch @ pycontw2019
 
KiZAN IoT Workshop - Memphis
KiZAN IoT Workshop - MemphisKiZAN IoT Workshop - Memphis
KiZAN IoT Workshop - Memphis
 
IoT Workshop - Waukesha
IoT Workshop - WaukeshaIoT Workshop - Waukesha
IoT Workshop - Waukesha
 
IoT Workshop Chicago
IoT Workshop ChicagoIoT Workshop Chicago
IoT Workshop Chicago
 
IoT Workshop Nashville
IoT Workshop NashvilleIoT Workshop Nashville
IoT Workshop Nashville
 
IoT Workshop Cincinnati
IoT Workshop CincinnatiIoT Workshop Cincinnati
IoT Workshop Cincinnati
 
Hardware Hacking in schools (ACEC2014)
Hardware Hacking in schools (ACEC2014)Hardware Hacking in schools (ACEC2014)
Hardware Hacking in schools (ACEC2014)
 

Recently uploaded

Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfchloefrazer622
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room servicediscovermytutordmt
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...Sapna Thakur
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...Pooja Nehwal
 
The byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxThe byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxShobhayan Kirtania
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 

Recently uploaded (20)

Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdf
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room service
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
The byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxThe byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptx
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 

Coding with Minecraft

Editor's Notes

  1. Welcome I’m a freelance media + technology trainer + for 8 years teaching at PHM everything from movie making to robotics. Also Scratch and basic coding and for couple years been combining that with Minecraft. Hoping to inspire you to try it out.
  2. Hands up who uses Minecraft in classroom? Who teaches any kind of programming language? Which ones? New to coding or if they’ve had some experience using Scratch, Python or another language
  3. Why use Minecraft as a tool to teach coding? First, kids love it (or most do!) Unlike a coding game like Code Avengers or Code Kingdom you can create your own games or just build things you want.
  4. Kids are already playing Minecraft so why not go where they are and teach them a new language they can use in the world they love. In fact anyone who has played PC or Mac version is probably already familiar with issuing commands : changing weather, time, teleporting player around. Some kids may also have used command blocks in the game or even set up their own simple server. Modifying the game further does require some fairly advanced coding in Java which is a barrier for most kids, but
  5. There is an Application Programming Interface which allows you to do many things within the game without modifying the source code. You can then use Python or Java (but I’ll focus on Python as its an easier language to learn for beginners) to send commands.
  6. So, what can you do with it? With coding you can build things that otherwise would take ages to complete. No mobs (by default) so focus is on building Almost all the kids I’ve taught with this start off wanting to run around and place blocks as normal but as soon as they see what they can build with code, they get hooked on the coding.
  7. So what do you need? If you have a small Raspberry Pi computer hook it to a monitor and keyboard. Raspberry Pi comes preloaded with the FREE Minecraft Pi edition which has everything you need to work with Python. Someone has actually made a version of the API libraries so you can use Scratch instead of Python but this only works on the Pi. If you do have a Pi there are some other cool things you can do such as send a signal to a Pi Camera via Minecraft.
  8. If you don’t have a Raspberry Pi … you can now do this on a normal PC / Mac You’ll need to buy a copy of Minecraft for each computer and download the Raspberry Juice plugin (which is free) and comes with server software and libraries
  9. API libraries let you write programs in Python the server will understand Each computer runs its own server so you work in your own world. Its possible to run it as multiplayer but we tried it at PHM and too much distraction demo setting it up
  10. Intro: print, PostToChat WhereAmI : co-ordinates Hide and Seek : co-ords, random, pythagoras, if Build a line / wall Spheres ?
  11. generated a random position for a block, then calculated the distance between player and the block using Pythagoras, then some simple if statements and a timer to run the game
  12. Computers do the thinking for you. Eg. office tower, once I understand some basic of using co-ordinates and loops I can build the code a lot faster than manually building the tower and can duplicate it as many times as I want
  13. So, what can you teach with it? Could be as simple as co-ordinates, distance and counting through to radius, pythagoras’ theorem, even trigonometry if you want to calculate angles You can also import CSV data files to build certain shapes like a maze
  14. create shapes, explore the relationship between maths + art! could also look at examples of geo-fencing in real world and try to replicate in the game, could create a game where your “oxygen” decreases as you get higher up
  15. If you want to extend it further, connect it to some external devices. Here’s an example of connecting a small Arduino and button to trigger something in game
  16. mod called Computercraft which you install on top of Minecraft. You make a computer in the game and then program it in Lua language to make mining turtles, make interactive games
  17. This one you have to buy extra software and there are learning resources to teach you how to code your own mods. Other options are using Forge mod to code your own mods in Java, but we are starting to get quite advanced there.
  18. If you have a Raspberry Pi, go to the Pi website and there are resources there about Minecraft Pi. Stuff about code: Minecraft clock, Game of Snake and more!