Skip to content

lpmacedo95/pong

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pong

Introduction

This project is a remake of the classic game Pong using C++ and OpenGL in a Unix-type OS.
My main objective is to learn more of the new OpenGL while coding a simple game.

Libraries

Extra libraries used are:

  • SFML, for creating an OpenGL context (game window, music and input).

  • GLEW, for implementing OpenGL functionality.

  • GLM, for implementing matrices.

Usage

First of all, make sure that your graphics driver supports OpenGL 4.0 or higher.

1. Open the project's directory with a Terminal.

2. Install SFML, GLEW and GLM with make install:

$ make install

3. Compile and run the program with make run:

$ make run

Controls

  • Esc: Leaves game.

  • W/S: Moves left player up/down.

  • Up/Down: Moves right player up/down.

Special Thanks

About

A C++ version of the classic Pong game

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •