ScratchStats LogoScratchStats

ScratchStats

Explore Scratch statistics and discover trending projects and creators.

Community

  • Apply for Verified
  • Apply for Reviewer

More

  • Donate
Not affiliated with Scratch.
Back to reedtbk's profile

AI Car - Q-Learning remix

REreedtbk•Shared September 29, 2023
0
0
16 views
Love/View Ratio: 0.00%
View on ScratchView on TurboWarp

Instructions

TURBOMODE FOR FAST LEARNING SPACE TO RESET RIGHT ARROW TO CHANGE TRACK Going in turbo mode may help but it wont be very efficient. Id suggest being in turbo mode for a bit then let it train some without it. It should end up working sort of. This is my first Q-learning project ever in any programming language. There were no tutorials I could find so I did it with my knowledge of Q-learning. Managed to get this car AI that if learns properly, it will go on any possible track. It may take some time or a bit of luck, but for me, it ended up fully learning in like 5-10 minutes and was perfect. I'm kinda proud lol. It is a car with 5 detectors in front of them each detecting if touching the walls. If they are, its added to a list. We then assign that to a random variable that decides what to do in that situation. If we die, it will cahnge a random thing. If we survive, it doesnt do anything. When we go to the next level, it speeds up.

Project Details

Project ID900659644
Search IndexIndexed (Visible)
CreatedSeptember 29, 2023
Last ModifiedSeptember 29, 2023
SharedSeptember 29, 2023
CommentsAllowed

Remix Information

Direct Remix SourceView Parent
Original ProjectView Root