Welcome to SpaceWar! This is a variant of the classic 1962 computer game. It is my attempt to learn how to use an entity-component system. I made heavy use of the book SFML Game Development and Triangulum to guide me in the right direction.
Assets (textures, music, sound effects) are credited in the "Credits" menu.
Setup Instructions
git submodule init
git submodule update
Build Instructions
Requires CMake.
Linux and macOS: macOS requires Xcode or the Xcode command line tools. If you use homebrew, the command line tools are installed as part of initial setup.
mkdir -p build
cd build
cmake ..
make
Windows MSVC:
mkdir build
mkdir install
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=../install
cmake --build . --config Release --parallel 6
cmake --install .
Run from within the install directory so that the binary can find the assets.
The C++ standard is C++11. Compilation has been tested on Ubuntu 20.04 with GCC 9.3.0, And Windows 10 with Visual Studio 2019. I'm sure you can get away with older versions though.