Skip to content

VictorioMo/game-pong

Repository files navigation

🏓 Pong Game (Unity)

A classic Pong remake built in Unity as part of my C# Masterclass learning journey.
This small project focuses on game mechanics, collision physics, and clean code organization within Unity.


🎮 Gameplay Overview

  • Two paddles (player vs AI or player vs player)
  • Ball bounces between walls and paddles
  • Basic scoring system and reset logic
  • Designed with reusable scripts and clear architecture principles

🧠 Learning Focus

This project demonstrates:

  • C# scripting within Unity (MonoBehaviour, Update loops, Rigidbody2D)
  • Handling input, physics, and collision events
  • Using prefabs for modular scene setup
  • Applying Clean Code concepts like:
    • Single Responsibility
    • DRY (Don’t Repeat Yourself)
    • KISS (Keep It Simple, Stupid)

🕹 Controls

Action Key
Move Left Paddle Up W
Move Left Paddle Down S
Move Right Paddle Up
Move Right Paddle Down

📸 Screenshots

Game Playing Game Over Screen


⚙️ Technical Details

  • Engine: Unity
  • Language: C#
  • Platform: PC (Windows/macOS/Linux)
  • Build Target: 3D/2D

🧾 License

This project is part of my C# Complete Masterclass learning repository.
You’re free to explore, learn, and reuse for educational purposes.

About

A classic Pong remake built in Unity

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages