How enes-sen/pongclone works
This repository is a Unity 2D Pong game, with menu and gameplay scenes, player and enemy controllers, ball/goal mechanics, scoring, UI, and audio assets. The tree identifies these product areas but provides no README or source excerpts, so runtime wiring and the exact user-to-result flow cannot be verified; the graph therefore maps the main components without inventing call or data-flow edges.
Components 15
Gameplay
- Player Control
Assets/_GameAssets/Scripts/Player/PlayerController.cs - Enemy AI
Assets/_GameAssets/Scripts/Enemy/EnemyAi.cs - Ball Physics
Assets/_GameAssets/Scripts/Others/Ball.cs - Goal Detection
Assets/_GameAssets/Scripts/Others/GoalTrigger.cs - Goal Contract
Assets/_GameAssets/Scripts/Interfaces/IGoal.cs - Game Control
Assets/_GameAssets/Scripts/Controllers/GameController.cs
Game Experience
- Score Tracking
Assets/_GameAssets/Scripts/Controllers/ScoreController.cs - Game UI
Assets/_GameAssets/Scripts/Controllers/UiController.cs - Menu Controls
Assets/_GameAssets/Scripts/Controllers/MenuControls.cs - Audio Control
Assets/_GameAssets/Scripts/Controllers/AudioSController.cs
Scenes and Assets
- Menu Scene
Assets/_GameAssets/Scenes/Menu.unity - Game Scene
Assets/_GameAssets/Scenes/Game.unity - Gameplay Prefabs
Assets/_GameAssets/_Prefabs - Sound Effects
Assets/_GameAssets/SFX
Other components
- Player