AI code to use in Hopscotch


#1

I asked @t1_hopscotch to close the previous topic I made about AI.
I’ll be uploading code pics and videos of AI behaviours that can be used for Hopscotch projects.
The pics and videos are from the website and app Tynker.
“Distance to” and “Point towards” can be done using Hopscotch. You can find out how by searching the forum.
@CreationsOfaNoob @MR.GAM3R @ThinBuffalo @Rawrbear

The pics and video below show an AI bot that always moves to the nearest pellet.
The pellet appears again at a random position after the bot gets close to it.


#2

This is really cool, great job!


#3

This is a quick project in Hopscotch I made using your code. https://c.gethopscotch.com/p/yxvh6phwg


#4

I’ll checkout your recreation when i get on my ipad.
it’s not playing on a pc.

@William04GamerA Thanks.


#5

Right, I unpublished the project lol. Will still work on an iOS device though.


#7

This is really cool, great job!