SlideShare ist ein Scribd-Unternehmen logo
1 von 40
NOEMI FERRERA
Esta foto de Autor desconocido está bajo licencia CC BY
Music by C418: https://minecraft.gamepedia.com/C418
Who am I?
@TheTestLynx
(Minecraft!)
noemiferrera.com
@TheTestLynx
Agenda
1. Definitions & purpose
2. How to program in Minecraft
I. Minecraft Challenges
II.Minecraft Makecode
3. How AI works in Minecraft
I. Rules and goals of Minecraft
II.Machine learning paradigms
III.Project Malmo
What’s Minecraft?
@TheTestLynxEsta foto de Autor desconocido está bajo licencia CC BY-SA-NC
What’s Minecraft?
 Sandbox construction videogame
 2011 Mojang – 2014 Microsoft
 Best selling videogame of all time
 Collect, assemble & destroy blocks in 3D
@TheTestLynx
What’s a Minecraft Mod?
Independent, user-made
modifications to the game
that extend or modify the
original
@TheTestLynx
https://www.planetminecraft.com/resources/mods/
What’s AI?
1. a branch of computer science dealing with the
simulation of intelligent behavior in computers
2. the capability of a machine to imitate intelligent
human behavior
@TheTestLynx
https://www.merriam-webster.com/dictionary/artificial%20intelligence
Photo by Alex Knight from Pexels
Why do I care?
 Trending in IT Software
 Trending in testing
 Automate the unthinkable
 The future
 Visual based testing
 Automatic inference
@TheTestLynx
Example
@TheTestLynx
This picture of unknown author is under license CC BY-NC Thia picture of unknown author is under license CC BY-NC
Why Minecraft?
 Easy to understand
 Fun
 Goal based
 Widely used – great dataset
 Backed up: Microsoft, Carnegie
Mellon University, Facebook
@TheTestLynx
Minecraft challenges
@TheTestLynx
Minecraft challenges
@TheTestLynx
Elements not
retrievables
Precondition
for all tests
Could not be
the first
screen
Minecraft challenges
@TheTestLynx
Multiple users for
functions like online
gaming and chat
Written using different
technologies
Automating Minecraft
@TheTestLynx
This picture of unknown author is under license CC BY-SA-NC
Preparation
1. Install Minecraft (30€ / 72 BYN)
2. Install Code Connection
3. Create a Minecraft world with
cheat mode turned on
4. Start Code Connection
@TheTestLynx
Minecraft.makecode.com
Example : Agent digs
@TheTestLynx
Example : Agent digs - JS
@TheTestLynx
Example : Agent digs - Python
@TheTestLynx
Example : Agent digs
@TheTestLynx
Example : Agent digs
@TheTestLynx
Example : Agent digs
@TheTestLynx
AI with Minecraft
@TheTestLynx
This picture of unknown author is under license CC BY-NC-ND
Building manual
https://minecraft.gamepedia.com/Tutorials/Beginner%27s_guide
@TheTestLynx
Rules for survival
@TheTestLynx
1. Fall damage can kill you
2. Lava can kill you –> never dig
straight down
3. Monsters can kill you
4. Monsters appear at night or in
caves
5. Being underwater can kill you
6. If you don´t sleep 4 nights in
a row, flying monsters attack you
7. Hunger can kill you
8. You get hungry with time and
movement
9. Some creatures can become
hostile
10. Careful with food and potions
…
Rules for starting
@TheTestLynx
1. A hole in the ground could be a shelter
2. Collect wood
3. Make a pickaxe
4. Collect wool
5. Make a bed
… goals?
Achievements guide - goals
https://minecraft.gamepedia.com/Tutorials/Achievement_guide
@TheTestLynx
Rules based system
@TheTestLynx
[…]Set of "if-then" statements that uses a set of assertions, to
which rules on how to act upon those assertions are created. In
software development, rule-based systems can be used to
create software that will provide an answer to a problem in
place of a human expert.[…]
https://www.webopedia.com/TERM/R/rule_based_system.html
Machine learning
Arthur samuel
@TheTestLynx
Field of study that gives computers the ability to
learn without being explicitly programmed.
https://www.ibm.com/developerworks/community/blogs/jfp/entry/What_Is_Machine_Learning?lang=en
Field of study that gives computers the ability to
learn without being explicitly programmed.
Machine learning paradigms
@TheTestLynx
Supervised learning
Unsupervised learning
Reinforcement learning
Supervised learning
@TheTestLynx
These pictures are from an unknown author under license CC BY-SA-NC
 Training
set
Unsupervised learning
@TheTestLynx
These pictures are from an unknown author under license CC BY-SA-NC
What’s an intelligent agent?
@TheTestLynx
This picture of unknown author it’s under
license CC BY-SA-NC
An autonomous entity which acts,
directing its activity towards achieving
goals (i.e. it is an agent), upon an
environment using observation through
sensors and consequent actuators (i.e. it
is intelligent)
https://en.wikipedia.org/wiki/Intelligent_agent
autonomous entity
goals
achieving
using observation
Reinforcement learning
@TheTestLynx
https://en.wikipedia.org/wiki/Reinforcement_learning
Area of machine learning concerned with
how software agents ought to take actions
in an environment in order to maximize
some notion of cumulative reward.
This picture of unknown author it’s under
license CC BY-SA-NC
Area of machine learning concerned with
how software agents ought to take actions
in an environment in order to maximize
some notion of cumulative reward.
Area of machine learning concerned with
how software agents ought to take actions
in an environment in order to maximize
some notion of cumulative reward.
Area of machine learning concerned with
how software agents ought to take actions
in an environment in order to maximize
some notion of cumulative reward.
Project Malmo
@TheTestLynx
Java8 JDK, python3, git
https://gym.openai.com/
NumPy, Pillow, lxml
AI experimentation & research built on Minecraft
https://github.com/Microsoft/malmo
Project Malmo
@TheTestLynx
Sending your code to the gym
Observation
Reward
Done
Info
This picture of unknown
author is under license CC
BY-SA-NC
Project Malmo
@TheTestLynx
https://youtu.be/iOWbeMvml3M
Project Malmo - challenges
@TheTestLynx
2017 - The Malmo Collaborative AI Challenge
https://www.crowdai.org/ - Crowdsourcing AI to solve real-world problems
MARLO 2018 - Multi-Agent Reinforcement Learning in Minecraft
NeurIPS 2019 : MineRL Competition
Recap
What’s AI
What are Minecraft mods
Tool to learn/teach code with Minecraft
What makes a system good fit for AI
What’s Machine learning
ML paradigms
Reinforcement learning & Intelligent agents
Where to find AI projects to join
@TheTestLynx
Thank you!
This picture of unknown author is under license CC BY-SA-NC
@TheTestLynx

Weitere ähnliche Inhalte

Ähnlich wie Ai minecraft

Kinect-like Devices: Principles, Brands and Cross-Applications
Kinect-like Devices: Principles, Brands and Cross-ApplicationsKinect-like Devices: Principles, Brands and Cross-Applications
Kinect-like Devices: Principles, Brands and Cross-ApplicationsVito Gentile
 
Joy of Coding Conference 2019 slides - Alan Richardson
Joy of Coding Conference 2019 slides - Alan RichardsonJoy of Coding Conference 2019 slides - Alan Richardson
Joy of Coding Conference 2019 slides - Alan RichardsonAlan Richardson
 
20 interesting-applications-of-deep-learning-with-python
20 interesting-applications-of-deep-learning-with-python20 interesting-applications-of-deep-learning-with-python
20 interesting-applications-of-deep-learning-with-pythongrinu
 
Artificial Intelligence
Artificial IntelligenceArtificial Intelligence
Artificial Intelligencekomal jain
 
GroupF_Task-2_Group Proposal report presentation_HUT351 (1).pptx
GroupF_Task-2_Group Proposal report presentation_HUT351  (1).pptxGroupF_Task-2_Group Proposal report presentation_HUT351  (1).pptx
GroupF_Task-2_Group Proposal report presentation_HUT351 (1).pptxSejalWasule
 
Let’s hunt the target using OSINT
Let’s hunt the target using OSINTLet’s hunt the target using OSINT
Let’s hunt the target using OSINTChandrapal Badshah
 
[Energy/abundance edition] Nature 2.0: The Cradle of Civilization Gets an Upg...
[Energy/abundance edition] Nature 2.0: The Cradle of Civilization Gets an Upg...[Energy/abundance edition] Nature 2.0: The Cradle of Civilization Gets an Upg...
[Energy/abundance edition] Nature 2.0: The Cradle of Civilization Gets an Upg...Trent McConaghy
 
Adversary Driven Defense in the Real World
Adversary Driven Defense in the Real WorldAdversary Driven Defense in the Real World
Adversary Driven Defense in the Real WorldJames Wickett
 
How to Improve Your Technical Test Ability - AADays 2015 Keynote
How to Improve Your Technical Test Ability - AADays 2015 KeynoteHow to Improve Your Technical Test Ability - AADays 2015 Keynote
How to Improve Your Technical Test Ability - AADays 2015 KeynoteAlan Richardson
 
2019-06-14:5 - Componenti per reti neurali
2019-06-14:5 - Componenti per reti neurali2019-06-14:5 - Componenti per reti neurali
2019-06-14:5 - Componenti per reti neuraliuninfoit
 
Generative AI, Game Development and the Future of Civilization
Generative AI, Game Development and the Future of CivilizationGenerative AI, Game Development and the Future of Civilization
Generative AI, Game Development and the Future of CivilizationJon Radoff
 
Imagineering - Virtual Worlds
Imagineering - Virtual WorldsImagineering - Virtual Worlds
Imagineering - Virtual WorldsPrithwis Mukerjee
 
Digital Identity and the Evolution of Creativity (MAS.S61)
Digital Identity and the Evolution of Creativity (MAS.S61)Digital Identity and the Evolution of Creativity (MAS.S61)
Digital Identity and the Evolution of Creativity (MAS.S61)Jon Radoff
 
Machinima, a Creative Technology
Machinima, a Creative TechnologyMachinima, a Creative Technology
Machinima, a Creative TechnologyNelson Zagalo
 

Ähnlich wie Ai minecraft (20)

Kinect-like Devices: Principles, Brands and Cross-Applications
Kinect-like Devices: Principles, Brands and Cross-ApplicationsKinect-like Devices: Principles, Brands and Cross-Applications
Kinect-like Devices: Principles, Brands and Cross-Applications
 
Joy of Coding Conference 2019 slides - Alan Richardson
Joy of Coding Conference 2019 slides - Alan RichardsonJoy of Coding Conference 2019 slides - Alan Richardson
Joy of Coding Conference 2019 slides - Alan Richardson
 
20 interesting-applications-of-deep-learning-with-python
20 interesting-applications-of-deep-learning-with-python20 interesting-applications-of-deep-learning-with-python
20 interesting-applications-of-deep-learning-with-python
 
Artificial Intelligence
Artificial IntelligenceArtificial Intelligence
Artificial Intelligence
 
GroupF_Task-2_Group Proposal report presentation_HUT351 (1).pptx
GroupF_Task-2_Group Proposal report presentation_HUT351  (1).pptxGroupF_Task-2_Group Proposal report presentation_HUT351  (1).pptx
GroupF_Task-2_Group Proposal report presentation_HUT351 (1).pptx
 
Let’s hunt the target using OSINT
Let’s hunt the target using OSINTLet’s hunt the target using OSINT
Let’s hunt the target using OSINT
 
The internet of things
The internet of thingsThe internet of things
The internet of things
 
[Energy/abundance edition] Nature 2.0: The Cradle of Civilization Gets an Upg...
[Energy/abundance edition] Nature 2.0: The Cradle of Civilization Gets an Upg...[Energy/abundance edition] Nature 2.0: The Cradle of Civilization Gets an Upg...
[Energy/abundance edition] Nature 2.0: The Cradle of Civilization Gets an Upg...
 
Adversary Driven Defense in the Real World
Adversary Driven Defense in the Real WorldAdversary Driven Defense in the Real World
Adversary Driven Defense in the Real World
 
How to Improve Your Technical Test Ability - AADays 2015 Keynote
How to Improve Your Technical Test Ability - AADays 2015 KeynoteHow to Improve Your Technical Test Ability - AADays 2015 Keynote
How to Improve Your Technical Test Ability - AADays 2015 Keynote
 
Robotics
RoboticsRobotics
Robotics
 
2019-06-14:5 - Componenti per reti neurali
2019-06-14:5 - Componenti per reti neurali2019-06-14:5 - Componenti per reti neurali
2019-06-14:5 - Componenti per reti neurali
 
Hacker halted2
Hacker halted2Hacker halted2
Hacker halted2
 
Generative AI, Game Development and the Future of Civilization
Generative AI, Game Development and the Future of CivilizationGenerative AI, Game Development and the Future of Civilization
Generative AI, Game Development and the Future of Civilization
 
Lecture 17
Lecture 17Lecture 17
Lecture 17
 
Imagineering - Virtual Worlds
Imagineering - Virtual WorldsImagineering - Virtual Worlds
Imagineering - Virtual Worlds
 
Digital Identity and the Evolution of Creativity (MAS.S61)
Digital Identity and the Evolution of Creativity (MAS.S61)Digital Identity and the Evolution of Creativity (MAS.S61)
Digital Identity and the Evolution of Creativity (MAS.S61)
 
MAS
MASMAS
MAS
 
Metaverse
MetaverseMetaverse
Metaverse
 
Machinima, a Creative Technology
Machinima, a Creative TechnologyMachinima, a Creative Technology
Machinima, a Creative Technology
 

Kürzlich hochgeladen

Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesBoston Institute of Analytics
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 

Kürzlich hochgeladen (20)

Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 

Ai minecraft

Hinweis der Redaktion

  1. Computer scientist : SW, HW, Master Degrees Spanish but travel and lived abroad Multinational experience: Startup experience International Speaker
  2. Before going on, who in the audience has development exp? AI? Who has played Minecraft?
  3. MC china was released in 2017
  4. Who can give me examples of things you should do to survive? Or things that could kill you?
  5. Supervised – maps input to output – ex fake app – classify(pig or chicken)/predict Unsupervised – keep learning, only input – clustering (types – friendly/hostile)/association (rules)
  6. 11 skins + ocelot
  7. Ideal behaviour to maximize performance
  8. Gym – reinforcement learning algorithms NumPy is the fundamental package for scientific computing with Python. Pillow, the friendly (PIL) Python Imaging Library. lxml is library for processing XML and HTML in Python Agents in C++, C#, python and java
  9. Gym is a toolkit for developing and comparing reinforcement learning algorithms.