Skip to content

Latest commit

 

History

History
49 lines (43 loc) · 1.68 KB

README.md

File metadata and controls

49 lines (43 loc) · 1.68 KB

Punch Bill Gates

A game about punching Bill Gates, written in C++ and SDL2.


Why?

To practice SDL2 and for the lulz, of course!

Building

First, create a directory named build and go into it:

mkdir build
cd build

Next, run cmake .. (to generate the Makefile) followed by make to build the project:

cmake ..
make
  • OPTIONAL - The assets directory from the root of the repository should be copied into your build directory. The game will bug out (fixme!) if it doesn't find some assets.
    If you can't find it, copy it manually:
cp -r ../assets .

Now you can run the compiled game with:

src/pbg

Have fun (?)

Controls

  • SPACE - Punch!

That's all folks!

Sources & Thanks