Play against a fox that learns over time to get better at attacking the chicks! Instructions: - The game number is = "Controller: Game #" - Click the chicks/chickens to save them. This increases your score for the current game. See how well you can do! - You run out of lives when the lives_left variable reaches 0, then the fox wins and a new game starts. If you get an error, just restart. Sorry, it shouldn't be happening, but sometimes does.
The fox learns all on its own! I did not program it to do any of this. It learns via Machine Learning! (Yes it is very st*pid to begin with and it often just stands still, but give it some time and it starts doing better!) (But I did program how it learns and how it can make decision) For those interested in the technical side: The fox learns via Reinforcement Learning using the SARSA algorithm. There is a 12 tile coarse coding and the fox's state is given by its current tile concatenated with the most recently spawned chick's tile. The fox's actions range from 0-11 for the next tile to travel to, and a number from 1-3 for how many seconds it should take to glide there. If you are interested in learning more about Reinforcement Learning, please read Richard S. Sutton and Andrew G. Barto's textbook "Reinforcement Learning: An Introduction" (http://incompleteideas.net/book/RLbook2020.pdf)