התרחיש
Modeling the turn-taking and win condition of a 9-ball pool game as a finite state machine where players alternate after missing or fouling, and the first to legally pocket the 9-ball wins.
מה מופיע בתרשים הזה
פענחו את ההחלטות שמאחוריו.
01Break outcome
legal pocket (continue), miss/foul (opponent's turn), or pocket 9 legally (win).
02After break, each player's shot
pocket lowest ball (continue), miss/foul (opponent's turn), or pocket 9 (win).
Useful for simulating 9-ball pool game logic, building referee assistance tools, or demonstrating finite automata with real-world rules.