Board moves according to the position of ball on Y axies. The for both player is switchable by pressing 1 for player 1 and 2 for player 2. Board turns green if the Ai mode is on for either player.
h5sh / cs50g-pong-project0 Goto Github PK
View Code? Open in Web Editor NEWStarting game development With the help of CS50 and this is my lazy attempt for creating Ai for Player2