ScratchData LogoScratchData
Back to Kanoa's profile

Learning AI

KAKanoa•Created November 20, 2009
Learning AI
319
288
11440 views
View on Scratch

Instructions

Watch and read. Download and reattach the file in the Background for further explanation. Each cat will learn a different approach. The numbers shown are for the blue cat.

Description

Each cat can perform 4 actions: walk, jump, short jump, and turn around. Every time they touch a yellow circle they must pick one of those actions. The actions "walk" and "short jump" will put them in the lava, "turn around" and "jump" will save them. Over time, each cat's AI will learn to savor actions that keep them out of the lava. If the cat touches the lava, it resets. If it survives (touches the wall), it learns to prefer that action a little more. See what happens! The timer is how long it's been since a cat fell into the pit. The IQ is the highest value of the timer so far.

Project Details

Project ID767917
CreatedNovember 20, 2009
Last ModifiedOctober 7, 2016
SharedNovember 20, 2009
Visibilityvisible
CommentsAllowed