The 'Hello World' of games, the old classic video tennis game.
Implemented using: Unity3D, C#
Project I made to show some rapid prototyping skills. The UI and menu's were the most time consuming mostly because of the time it takes to layout all of the components.
There is a general GameManager class that does most of the game logic including instantiating and destroying menus when needed, keeping track of the game state etc. A score manager class is the other main piece of logic and it is responsible for handling scoring by the ball and calling a state change in the game manager when appropriate.
The 'ball' is completely controlled by a 2D rigidbody and physics. With no drag, no gravity and a material of a perfect bounce assigned to all other objects. The ball is spawned in the scene and a force vector is calculated at random and applied to it.