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

_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting DataJhengPantaleon
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17Celine George
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsKarinaGenton
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
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
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppCeline George
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfakmcokerachita
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 

Recently uploaded (20)

_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its Characteristics
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
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
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website App
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdf
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 

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!