This week I added more concrete states to the game flow that not only instruct the user through the turns, but also prevents them from clicking something when they’re not supposed to or triggering a second shot too early. When the user presses shoot, a sequence of pop-ups will walk them through the process. Examples below include shooting information, waiting for opponent’s turn and prompting removal of cups, and rescanning cups.
This week I’m going to finish integrating my part with the ellipse detection and calibration by properly calling and testing the aim function and ensuring a correct relationship between the cups displayed and the cup scanning between turns.