There are 6 bags on the table, the ball can fall into them and score. the player can only hit the white ball, and let the white ball hit other colors of the ball. The game for single, game, victory conditions for all the ball except the white ball has been in the bag, failure conditions for the white ball into the bag.
java : 17
gradle : 7.5.0