Download the 2 sprites and 8 scripts of "Snitch" and open it in Scratch
Project Notes
This is a reinforcement learning adaptation of the Harry Potter Snitch game. The goal is for the Harry Potter figure to grab the snitch. When the game begins, the agent explores, randomly using the grabbing command. It misses the snitch mostly, but it averages the first 5 hits into an ideal distance away from the snitch to grab. After 5 hits, it has learned the ideal distance and will not miss the snitch again.
Comments
You need to be logged in to post comments
Add a Comment