Discuss Scratch

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?
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.

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?)

Zro716 wrote:

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.
That link looks cool! Didn't know this sort of thing was possible with js (always a happy surprise).

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?)

PullJosh wrote:

Zro716 wrote:

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.
That link looks cool! Didn't know this sort of thing was possible with js (always a happy surprise).

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.
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.
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
djdolphin
Scratcher
1000+ posts

Has this been done (and is it possible?)

You might find this article interesting.

Last edited by djdolphin (March 14, 2016 02:40:53)


!
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?)

MooShoeGaming wrote:

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.
Computer visionnnnnnnn

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?)

bobbybee wrote:

MooShoeGaming wrote:

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.
Computer visionnnnnnnn

and neural netsssssssssss.
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.
Firedrake969
Scratcher
1000+ posts

Has this been done (and is it possible?)

NickyNouse wrote:

bobbybee wrote:

MooShoeGaming wrote:

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.
Computer visionnnnnnnn

and neural netsssssssssss.
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.
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? idk

'17 rickoid

bf97b44a7fbd33db070f6ade2b7dc549
The_Grits
Scratcher
1000+ posts

Has this been done (and is it possible?)

Firedrake969 wrote:

NickyNouse wrote:

bobbybee wrote:

MooShoeGaming wrote:

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.
Computer visionnnnnnnn

and neural netsssssssssss.
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.
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? idk
What you said reminds me of micromouse algorithms, especially the A* algorithm.
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)



bobbybee
Scratcher
1000+ posts

Has this been done (and is it possible?)

The_Grits wrote:

Firedrake969 wrote:

NickyNouse wrote:

bobbybee wrote:

MooShoeGaming wrote:

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.
Computer visionnnnnnnn

and neural netsssssssssss.
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.
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? idk
What you said reminds me of micromouse algorithms, especially the A* algorithm.
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?)

bobbybee wrote:

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?)

MegaApuTurkUltra wrote:

bobbybee wrote:

Graph's aren't in any inherent dimension
ಠ_ಠ
People alway's add appostrophy's to their plural's, and it drive's me crazy.
bobbybee
Scratcher
1000+ posts

Has this been done (and is it possible?)

MegaApuTurkUltra wrote:

bobbybee wrote:

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?)

bobbybee wrote:

MegaApuTurkUltra wrote:

bobbybee wrote:

Graph's aren't in any inherent dimension
ಠ_ಠ

In my defense, Arc Dark Firefox makes it really hard to see what I'm typing…
Obligatory…


Your regular programming will now continue.
nathanprocks
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/


My browser / operating system: Macrosoft Winding XO, Internet Exploder 6.0, Angel Player ver.:1.2.5
;
The_Grits
Scratcher
1000+ posts

Has this been done (and is it possible?)

nathanprocks wrote:

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.


Powered by DjangoBB