ScratchData LogoScratchData
Back to PullJosh's profile

Watch Cars Learn to Drive: Evolutionary Learning

PUPullJosh•Created May 18, 2019
Watch Cars Learn to Drive: Evolutionary Learning
208
150
5498 views
View on Scratch

Instructions

Watch these not-so-smart cars learn how to drive! They begin by wandering aimlessly, with no knowledge of the track or what "driving" even means. (You'll have to give them a bit of time... They aren't quick learners. But they'll get there!) Over time the cars see what works and what doesn't, and the cars that are successful are used as the basis for a new generation of cars with their own random variations. (The pink car in each generation is an exact copy of the winner from the previous generation; the purples cars are random variations of the winner.)

Description

Please remix! This system is actually pretty generic, so it shouldn't be *too* difficult to replace the car game with an entirely different game of your own creation. There are really just three things to change: The inputs, the outputs, and the scoring system. The inputs are the "sensors" that each player has to understand the world, the outputs are the "controls" that each player has, and the scoring system is used to determine which player in a generation was the most successful. If you change those three things, the same learning system could be used to train the computer to play a variety of different games. I can't wait to see your own creations! (Of course, if you have ideas for how to improve the evolution learning system itself, please do that as well!)

Project Details

Project ID310950918
CreatedMay 18, 2019
Last ModifiedMay 19, 2019
SharedMay 19, 2019
Visibilityvisible
CommentsAllowed