

If the racket hits the ball at the top corner, then it should bounce off towards our top border.Our rackets should have an influence on the ball's outgoing angle: Each player will have a racket that can be moved up and down to hit back the ball. If it hits the top or bottom wall then it bounces off. The left player scores a point if the ball hits the right wall. The right player scores a point if the ball hits the left wall. The game rules should be very similar to the original Pong. If you use a different operating system, you will need to adapt the location of your project accordingly. Please note that the Microsoft Windows operating system was used for this tutorial, however this tutorial can be followed on Windows, Mac OS or Linux versions of Unity. We will begin by thinking about the game rules and taking a first look at the Unity engine. Our two-dimensional Pong game will be inspired by the original Pong game from 1972. Everything will be explained step-by-step so everyone can understand it. This Tutorial will show how to make a 2D Pong Game in the Unity Game Engine with only 38 lines of code.
