The game seems to function as intended! Like kisielo says, congrats on your first game. I think to make the AI player more realistic, it could only follow the ball’s horizontal position while the ball is on its side; otherwise, maybe have it move randomly just a bit? Also, if the starting ball is shot at a more horizontal angle, that could make the back-and-forth more dynamic since right now it bounces against the walls like 5 times before reaching a player.