A Breakout clone written in C++ using SFML 2.1.
This project was a way for me to learn the basics of game programming.
- Use a keyboard or a PS3 controller to play the game.
Firstly, you need to have make
, g++
and the SFML 2.1
headers and libraries installed. Then clone the game from GitHub and then make and run the game.
$ git clone https://github.com/davidphuong/breakout-clone.git
$ cd breakout-clone
$ make
$ ./breakout # Using keyboard
OR
$ ./breakout -ps3 # Using PS3 controller
# Keyboard Controls
Left Arrow Key: Move Paddle Left
Right Arrow Key: Move Paddle Right
# PS3 Controls
Move LJoystick left: Move Paddle Left
Move LJoystick right: Move Paddle Right
This game is released under the MIT License.