PONG

PLATFORM

Windows Desktop

DESCRIPTION

This is a remake of the arcade classic tennis game originally made by Atari in 1972. The player (left) must aim to hit the ball past the computer (right) by moving their bat up and down with the 'W' and 'S' keys. The ball starts off slowly but quickly increases in speed requiring fast reactions and forward thinking.

 

The game is made using Simple DirectMedia Layer (SDL). This is a cross platform library which is great for developing games much quicker that APIs like OpenGL and Direct3D.

 

This demo showcases various additional libraries including 'SDL2_image' for other file formats like '.jpg' and '.png'. 'SDL2_mixer' is used for sound effects and music mixing. Lastly, I included 'SDL2_ttf' to support true type font formats which are rendered in real time.

PROGRAMS/TECHNOLOGIES

SDL 2.0

Visual Studio 2015

LANGUAGE

C++

CONTRIBUTIONS

Solo project

WHAT I LEARNED
  • How to implement game systems from scratch using SDL 2.0

  • Toggling full screen on/off and changing resolutions at runtime

  • How to implement basic AI ball tracking

  • 2 player controls on a single keyboard

© 2019 by Andrew Wilson

  • GitLab_Logo
  • LinkedIn Social Icon
  • YouTube Social  Icon