A collection of games written in C++11
- Make sure you have installed the following dependencies:
- A compiler compliant with the C++11 standard (e.g.
g++4.8 orclang++3.x) cmakegit
- A compiler compliant with the C++11 standard (e.g.
The only other major dependency is SFML, which is included in the libs/ directory.
Users running Windows and Mac can build all the games right out of the box. Users running Linux will need to install
SFML's dependencies as described here.
-
Download and build games:
First, clone the repository (Depending on your network settings, you may have to use the
httpsprotocol instead of thegitprotocol):$ git clone git://github.com/fmenozzi/games.git $ cd gamesThen, create a build directory and run
cmaketo build the build files (if you want to do additional configuration with CMake, runccmake ..instead):$ mkdir build && cd build $ cmake ..Now, use whatever build system you prefer to actually build the games. Users on Mac and Linux can simply use
make. Users on Windows can do...whatever the hell Windows users do to build C++. A Visual Studio project? I don't know. (I write my C++ on Linux. Sue me.) -
There should now be a slew of executables in your
builddirectory, one for each game. Have fun!
All game source is licensed under the MIT License