Thanks for trying the game out, the match ends when a gem hits the paddle but the IA right now is very basic so it just follows the ball and hits it with an angle, so is kinda random when it plays well or don't. We hope you look forward to future updates as we fix more things up including the IA.