This is a self playing game, intended to demonstrate the A* algorithm. The character will perpetually go outside to pick flowers, then put them in planters in their house. It's probably something I'll build on later but it's fun to watch the algorithm work. It sometimes (rarely) hits a bug where it won't go to put down the flower. I haven't tracked it down yet.



Cool, AI in PICO-8.
I'm going to make another thing based off of this too!



Hmm, feel free to remix this, but keep in mind I intentionally made the search slow in order to display it looking square by square :P you can easily remove that stuff and it'll just run instantly. You can probably just remove this
if step>maxstep then
return
end
step+=1



Okay, thanks for the information!
Probably not going to delete that bit of data though because I kind of like seeing it find a path.

1


BOOM (explosion noise) I made a remix



Wow that's so cool! That makes me so happy that you built something off my experiment :)
[Please log in to post a comment]