Discuss Scratch
- Discussion Forums
- » Advanced Topics
- » Has this been done (and is it possible?)
- PullJosh
- Scratcher
1000+ posts
Has this been done (and is it possible?)
So I got to thinking again, which always ends badly.
I needed a new project to work on, and I wanted to create an AI to play a game. Being the person I am, I started to wonder if it was possible to create artificial intelligence that plays survival minecraft.
A little bit of Googling yielded no results, so I'm assuming nobody has been crazy enough to try this. My first thought was that it might be possible to control the player by creating a minecraft mod which acts as the AI.
Any thoughts on this? Is it possible? Feasible? Has it been done before?
I needed a new project to work on, and I wanted to create an AI to play a game. Being the person I am, I started to wonder if it was possible to create artificial intelligence that plays survival minecraft.
A little bit of Googling yielded no results, so I'm assuming nobody has been crazy enough to try this. My first thought was that it might be possible to control the player by creating a minecraft mod which acts as the AI.
Any thoughts on this? Is it possible? Feasible? Has it been done before?
- Zro716
- Scratcher
1000+ posts
Has this been done (and is it possible?)
I did a little bit of Googling too and I found a basic Minecraft bot in JS. https://github.com/PrismarineJS/mineflayer
Doesn't look like anyone has made that clever of AI yet, like one that actually plays survival as intended. If you're up for making that advanced of a bot, go for it. The only way to find out if it's possible is to actually give it a try, so good luck with that.
Doesn't look like anyone has made that clever of AI yet, like one that actually plays survival as intended. If you're up for making that advanced of a bot, go for it. The only way to find out if it's possible is to actually give it a try, so good luck with that.
As a long time Scratcher, I have found new meaning to the name “Scratch”: for me, it means to “scratch that itch”, to come back again and again to realize new ideas in this toy language, even when I'm capable of creating my projects in real programming languages years later. It's a friend that helped me to pursue programming and get me to enjoy its fruit. I'm certain many others who have walked this path as well have grown fond of its importance in their life.
- PullJosh
- Scratcher
1000+ posts
Has this been done (and is it possible?)
https://github.com/PrismarineJS/mineflayerThat link looks cool! Didn't know this sort of thing was possible with js (always a happy surprise). I did a little bit of Googling too and I found a basic Minecraft bot in JS.
Doesn't look like anyone has made that clever of AI yet, like one that actually plays survival as intended. If you're up for making that advanced of a bot, go for it. The only way to find out if it's possible is to actually give it a try, so good luck with that.
If I were to create an AI, I'm not sure which would be cooler: A bot that plays like a real human (creates a house/base and lives happily ever after) or a bot that beats the game (reaches credits, speed-run style) as fast as possible.
- helloandgoodbye9
- Scratcher
1000+ posts
Has this been done (and is it possible?)
I think a combination would be the best. First, make a impressive base. Then, after a day of living there, speed run though the game.https://github.com/PrismarineJS/mineflayerThat link looks cool! Didn't know this sort of thing was possible with js (always a happy surprise). I did a little bit of Googling too and I found a basic Minecraft bot in JS.
Doesn't look like anyone has made that clever of AI yet, like one that actually plays survival as intended. If you're up for making that advanced of a bot, go for it. The only way to find out if it's possible is to actually give it a try, so good luck with that.
If I were to create an AI, I'm not sure which would be cooler: A bot that plays like a real human (creates a house/base and lives happily ever after) or a bot that beats the game (reaches credits, speed-run style) as fast as possible.
After that, hax and spawn infinity enderdragons.
Last edited by kaj (Tomorrow 25:61:61) ͪͪͪͪͪͪͪͪͪͪ ͣͣͣͣ ͯͯͯͯYes, its above the line)
- Firedrake969
- Scratcher
1000+ posts
Has this been done (and is it possible?)
It would be much less boring to go through mines and look for stuff
'17 rickoid
bf97b44a7fbd33db070f6ade2b7dc549
- MooShoeGaming
- Scratcher
100+ posts
Has this been done (and is it possible?)
I think the real challenge would be getting the bot to locate blocks without being able to get block data that a regular play can't see.
my github | my website | give me an internet
thx to whoever came up with this template for a signature.
- bobbybee
- Scratcher
1000+ posts
Has this been done (and is it possible?)
Computer visionnnnnnnn I think the real challenge would be getting the bot to locate blocks without being able to get block data that a regular play can't see.
and neural netsssssssssss.
“Ooo, can I call you Señorita Bee?” ~Chibi-Matoran
- NickyNouse
- Scratcher
1000+ posts
Has this been done (and is it possible?)
idk if you'd need neural nets for this. Since its graphics are so simple, minecraft is one of those “perfect universe” scenarios where the data lines up exactly to the theoretical math. You might be able to do something a lot simpler to analyze the geometry.Computer visionnnnnnnn I think the real challenge would be getting the bot to locate blocks without being able to get block data that a regular play can't see.
and neural netsssssssssss.
- Firedrake969
- Scratcher
1000+ posts
Has this been done (and is it possible?)
Probably neural nets for what to do with the block data (but simple stuff like “mine block X, Y” and then math to actually get to it and stuff? idkidk if you'd need neural nets for this. Since its graphics are so simple, minecraft is one of those “perfect universe” scenarios where the data lines up exactly to the theoretical math. You might be able to do something a lot simpler to analyze the geometry.Computer visionnnnnnnn I think the real challenge would be getting the bot to locate blocks without being able to get block data that a regular play can't see.
and neural netsssssssssss.
'17 rickoid
bf97b44a7fbd33db070f6ade2b7dc549
- The_Grits
- Scratcher
1000+ posts
Has this been done (and is it possible?)
What you said reminds me of micromouse algorithms, especially the A* algorithm.Probably neural nets for what to do with the block data (but simple stuff like “mine block X, Y” and then math to actually get to it and stuff? idkidk if you'd need neural nets for this. Since its graphics are so simple, minecraft is one of those “perfect universe” scenarios where the data lines up exactly to the theoretical math. You might be able to do something a lot simpler to analyze the geometry.Computer visionnnnnnnn I think the real challenge would be getting the bot to locate blocks without being able to get block data that a regular play can't see.
and neural netsssssssssss.
I'm not entirely sure how you would go about making a 3D A* algorithm though, but whatever.
Last edited by The_Grits (March 14, 2016 23:34:59)
Scratch Wiki: https://wiki.scratch.mit.edu
Help with Scripts forum: https://scratch.mit.edu/discuss/7/
Questions about Scratch forum: https://scratch.mit.edu/discuss/4/
Contact the ST: https://scratch.mit.edu/contact-us/
- bobbybee
- Scratcher
1000+ posts
Has this been done (and is it possible?)
What you said reminds me of micromouse algorithms, especially the A* algorithm.Probably neural nets for what to do with the block data (but simple stuff like “mine block X, Y” and then math to actually get to it and stuff? idkidk if you'd need neural nets for this. Since its graphics are so simple, minecraft is one of those “perfect universe” scenarios where the data lines up exactly to the theoretical math. You might be able to do something a lot simpler to analyze the geometry.Computer visionnnnnnnn I think the real challenge would be getting the bot to locate blocks without being able to get block data that a regular play can't see.
and neural netsssssssssss.
I'm not entirely sure how you would go about making a 3D A* algorithm though, but whatever.
Graphs are not in any inherent dimension, so A* can be generalized to arbitrary dimensions.
Last edited by bobbybee (March 15, 2016 00:19:50)
“Ooo, can I call you Señorita Bee?” ~Chibi-Matoran
- MegaApuTurkUltra
- Scratcher
1000+ posts
Has this been done (and is it possible?)
Graph's aren't in any inherent dimensionಠ_ಠ
$(".box-head")[0].textContent = "committing AT crimes since $whenever"
- PullJosh
- Scratcher
1000+ posts
Has this been done (and is it possible?)
People alway's add appostrophy's to their plural's, and it drive's me crazy.Graph's aren't in any inherent dimensionಠ_ಠ
- bobbybee
- Scratcher
1000+ posts
Has this been done (and is it possible?)
Graph's aren't in any inherent dimensionಠ_ಠ
In my defense, Arc Dark Firefox makes it really hard to see what I'm typing…
“Ooo, can I call you Señorita Bee?” ~Chibi-Matoran
- PullJosh
- Scratcher
1000+ posts
Has this been done (and is it possible?)
Obligatory…Graph's aren't in any inherent dimensionಠ_ಠ
In my defense, Arc Dark Firefox makes it really hard to see what I'm typing…
Your regular programming will now continue.
- nathanprocks
- Scratcher
1000+ posts
Has this been done (and is it possible?)
- The_Grits
- Scratcher
1000+ posts
Has this been done (and is it possible?)
http://blogs.microsoft.com/next/2016/03/13/project-aix-using-minecraft-build-intelligent-technology/lol That blog post was the same exact day as the original post.
It's neat how they are trying to make it learn as it goes instead of programming it everything from the beginning.
Scratch Wiki: https://wiki.scratch.mit.edu
Help with Scripts forum: https://scratch.mit.edu/discuss/7/
Questions about Scratch forum: https://scratch.mit.edu/discuss/4/
Contact the ST: https://scratch.mit.edu/contact-us/
- Discussion Forums
- » Advanced Topics
- » Has this been done (and is it possible?)