/Ponghub

Ponghub - a fun game for kids :D

Primary LanguageC

(an absolutely SFW game, suitable for your kids!)

Table of Contents

What is this?

This is my attempt of CS50 Game Development's Pong game tutorial. In my version, the game view is rotate to vertical. Don't ask me about the title 👀

Gameplay

Download

Download and extract the game to play:

Check out the Releases page for the latest version.

Controls

The blinking player is the server.

Player 1 (top dude):
  • Move: A, D
  • Serve: S
Player 2 (bottom dude):
  • Move: ⬅️ ➡️ (left/right arrow keys)
  • Serve: ⬆️ (up arrow key)

ESC: go back M: mute sound

Installation

If you want to compile the game yourself, you'd need Lua and LÖVE2D framework. If you are on a Mac, you can follow this instruction:

  1. Install Lua:
brew install lua
  1. Install LÖVE2D:
git clone https://github.com/love2d/love
  1. Add love alias to your PATH:
alias love="/Applications/love.app/Contents/MacOS/love"
  1. Clone the project:
git clone https://github.com/hoangdesu/Ponghub.git
  1. Go to the project and run the game:
cd Ponghub/src
love .

Screenshots

Welcome screen

welcome

Victory screen

victory

Connect with me

Credits