Right. We’ll start with the overall object of the game. As you can imagine, you need to pot balls. Or more specifically, make sure you don’t miss. Why? Well, you’ll lose a life. You start with six lives. Miss six shots and you’re out. Stay at the table and pot every time when you’re cue in hand and you win. You can set the balls up as you would normally. It doesn’t matter where the balls go inside the triangle, as colour – or number – is irrelevant here. When you’re shooting, you’re just aiming for a ball. Any ball. Even black. In fact, especially the black ball. If you can knock that in – you picked up an extra life. Nice.
You can download code here https://github.com/roboticsslovenia/pythonProjects_robotics_slovenia/blob/main/pool1.py
Also don't forget to visit my webpage www.robotics-slovenia.com
Subscribe to my YouTube channel!