This project was bootstrapped with Create React App, and uses Tensorflow and TF-Agents for reinforcement learning.
View the demo at https://metasir.github.io/WIP-Reinforcement-learning-UFO/ .
The build currently fails due to a bug in babel described here. Until that issue is resolved, the build will fail without temporary workarounds.
The agent was taught by reinforcement learning, where it was 'dropped' somewhere near the goal. It went through various attempts at rewards, but the rewards used last were:
- 1 point per second for not crashing
- 1 point per second if it is near the goal
- -1 point per second if it is spinning very fast