The controls for this are slightly different. Instead of clicking and holding, this simplifies the controls to just simply clicking to switch directions, as the extra complexity of the length of the swing is unnecessary complexity for the AI to try and learn, and is not crucial to playing this game. I removed many visual elements, so the restart doesn't work. Instead, press the key 'R' to restart.
This is aimed to extract data for AI behavior imitation. You can make your own data collection script in this project to try and train a deep learning AI as well as possible! I made the player blue and kept the walls permanently red so you can make wall position detection by using touching color blocks.