ScratchData LogoScratchData
Back to CodingKona's profile

AI car

COCodingKona•Created September 15, 2021
AI car
15
10
174 views
View on Scratch

Instructions

watch and if the car hits a wall or stops for an extended amount of time restart the project. sporadic pausing can be expected as the AI is expensive to run in real time

Description

This AI sends many versions of itself into the future to test different throttles and steering positions to see what it has to do next to travel the most distance without hitting any walls. It fails when all versions hit the wall and the car gains no appropriate controls. This method makes the AI adaptable for any environment.

Project Details

Project ID570846560
CreatedSeptember 15, 2021
Last ModifiedSeptember 17, 2021
SharedSeptember 16, 2021
Visibilityvisible
CommentsAllowed