SlideShare una empresa de Scribd logo
1 de 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

Más contenido relacionado

Similar a 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
 

Similar a 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
 

Último

Revolutionizing SAP® Processes with Automation and Artificial Intelligence
Revolutionizing SAP® Processes with Automation and Artificial IntelligenceRevolutionizing SAP® Processes with Automation and Artificial Intelligence
Revolutionizing SAP® Processes with Automation and Artificial IntelligencePrecisely
 
Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...
Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...
Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...ScyllaDB
 
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptxHarnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptxFIDO Alliance
 
AI mind or machine power point presentation
AI mind or machine power point presentationAI mind or machine power point presentation
AI mind or machine power point presentationyogeshlabana357357
 
ADP Passwordless Journey Case Study.pptx
ADP Passwordless Journey Case Study.pptxADP Passwordless Journey Case Study.pptx
ADP Passwordless Journey Case Study.pptxFIDO Alliance
 
Human Expert Website Manual WCAG 2.0 2.1 2.2 Audit - Digital Accessibility Au...
Human Expert Website Manual WCAG 2.0 2.1 2.2 Audit - Digital Accessibility Au...Human Expert Website Manual WCAG 2.0 2.1 2.2 Audit - Digital Accessibility Au...
Human Expert Website Manual WCAG 2.0 2.1 2.2 Audit - Digital Accessibility Au...Skynet Technologies
 
ERP Contender Series: Acumatica vs. Sage Intacct
ERP Contender Series: Acumatica vs. Sage IntacctERP Contender Series: Acumatica vs. Sage Intacct
ERP Contender Series: Acumatica vs. Sage IntacctBrainSell Technologies
 
How to Check CNIC Information Online with Pakdata cf
How to Check CNIC Information Online with Pakdata cfHow to Check CNIC Information Online with Pakdata cf
How to Check CNIC Information Online with Pakdata cfdanishmna97
 
1111 ChatGPT Prompts PDF Free Download - Prompts for ChatGPT
1111 ChatGPT Prompts PDF Free Download - Prompts for ChatGPT1111 ChatGPT Prompts PDF Free Download - Prompts for ChatGPT
1111 ChatGPT Prompts PDF Free Download - Prompts for ChatGPTiSEO AI
 
Top 10 CodeIgniter Development Companies
Top 10 CodeIgniter Development CompaniesTop 10 CodeIgniter Development Companies
Top 10 CodeIgniter Development CompaniesTopCSSGallery
 
UiPath manufacturing technology benefits and AI overview
UiPath manufacturing technology benefits and AI overviewUiPath manufacturing technology benefits and AI overview
UiPath manufacturing technology benefits and AI overviewDianaGray10
 
Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...
Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...
Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...ScyllaDB
 
The Metaverse: Are We There Yet?
The  Metaverse:    Are   We  There  Yet?The  Metaverse:    Are   We  There  Yet?
The Metaverse: Are We There Yet?Mark Billinghurst
 
2024 May Patch Tuesday
2024 May Patch Tuesday2024 May Patch Tuesday
2024 May Patch TuesdayIvanti
 
Introduction to FIDO Authentication and Passkeys.pptx
Introduction to FIDO Authentication and Passkeys.pptxIntroduction to FIDO Authentication and Passkeys.pptx
Introduction to FIDO Authentication and Passkeys.pptxFIDO Alliance
 
TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...
TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...
TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...marcuskenyatta275
 
WebRTC and SIP not just audio and video @ OpenSIPS 2024
WebRTC and SIP not just audio and video @ OpenSIPS 2024WebRTC and SIP not just audio and video @ OpenSIPS 2024
WebRTC and SIP not just audio and video @ OpenSIPS 2024Lorenzo Miniero
 
Portal Kombat : extension du réseau de propagande russe
Portal Kombat : extension du réseau de propagande russePortal Kombat : extension du réseau de propagande russe
Portal Kombat : extension du réseau de propagande russe中 央社
 
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...panagenda
 
Design Guidelines for Passkeys 2024.pptx
Design Guidelines for Passkeys 2024.pptxDesign Guidelines for Passkeys 2024.pptx
Design Guidelines for Passkeys 2024.pptxFIDO Alliance
 

Último (20)

Revolutionizing SAP® Processes with Automation and Artificial Intelligence
Revolutionizing SAP® Processes with Automation and Artificial IntelligenceRevolutionizing SAP® Processes with Automation and Artificial Intelligence
Revolutionizing SAP® Processes with Automation and Artificial Intelligence
 
Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...
Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...
Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...
 
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptxHarnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
 
AI mind or machine power point presentation
AI mind or machine power point presentationAI mind or machine power point presentation
AI mind or machine power point presentation
 
ADP Passwordless Journey Case Study.pptx
ADP Passwordless Journey Case Study.pptxADP Passwordless Journey Case Study.pptx
ADP Passwordless Journey Case Study.pptx
 
Human Expert Website Manual WCAG 2.0 2.1 2.2 Audit - Digital Accessibility Au...
Human Expert Website Manual WCAG 2.0 2.1 2.2 Audit - Digital Accessibility Au...Human Expert Website Manual WCAG 2.0 2.1 2.2 Audit - Digital Accessibility Au...
Human Expert Website Manual WCAG 2.0 2.1 2.2 Audit - Digital Accessibility Au...
 
ERP Contender Series: Acumatica vs. Sage Intacct
ERP Contender Series: Acumatica vs. Sage IntacctERP Contender Series: Acumatica vs. Sage Intacct
ERP Contender Series: Acumatica vs. Sage Intacct
 
How to Check CNIC Information Online with Pakdata cf
How to Check CNIC Information Online with Pakdata cfHow to Check CNIC Information Online with Pakdata cf
How to Check CNIC Information Online with Pakdata cf
 
1111 ChatGPT Prompts PDF Free Download - Prompts for ChatGPT
1111 ChatGPT Prompts PDF Free Download - Prompts for ChatGPT1111 ChatGPT Prompts PDF Free Download - Prompts for ChatGPT
1111 ChatGPT Prompts PDF Free Download - Prompts for ChatGPT
 
Top 10 CodeIgniter Development Companies
Top 10 CodeIgniter Development CompaniesTop 10 CodeIgniter Development Companies
Top 10 CodeIgniter Development Companies
 
UiPath manufacturing technology benefits and AI overview
UiPath manufacturing technology benefits and AI overviewUiPath manufacturing technology benefits and AI overview
UiPath manufacturing technology benefits and AI overview
 
Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...
Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...
Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...
 
The Metaverse: Are We There Yet?
The  Metaverse:    Are   We  There  Yet?The  Metaverse:    Are   We  There  Yet?
The Metaverse: Are We There Yet?
 
2024 May Patch Tuesday
2024 May Patch Tuesday2024 May Patch Tuesday
2024 May Patch Tuesday
 
Introduction to FIDO Authentication and Passkeys.pptx
Introduction to FIDO Authentication and Passkeys.pptxIntroduction to FIDO Authentication and Passkeys.pptx
Introduction to FIDO Authentication and Passkeys.pptx
 
TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...
TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...
TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...
 
WebRTC and SIP not just audio and video @ OpenSIPS 2024
WebRTC and SIP not just audio and video @ OpenSIPS 2024WebRTC and SIP not just audio and video @ OpenSIPS 2024
WebRTC and SIP not just audio and video @ OpenSIPS 2024
 
Portal Kombat : extension du réseau de propagande russe
Portal Kombat : extension du réseau de propagande russePortal Kombat : extension du réseau de propagande russe
Portal Kombat : extension du réseau de propagande russe
 
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
 
Design Guidelines for Passkeys 2024.pptx
Design Guidelines for Passkeys 2024.pptxDesign Guidelines for Passkeys 2024.pptx
Design Guidelines for Passkeys 2024.pptx
 

Ai minecraft

Notas del editor

  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.