A clone of well-known game Age of War, extended with multiplayer.
- Play a single player game just like in Age of War.
- Play a game with your friend or a random dude.
- Participate in tournaments.
- Make a bot play for you, so you can have a rest during the game (and, hopefully, not lose).
- See your stats, i.e. rating, number of games won/lost online, etc.
- Chat with your friends inplace during a tournament or a game.
Click on them:
Sorry, we didn't manage to make it easy to install all dependencies with CMake, so
you will need to suffer try hard to install the project.
To be clear, we don't guarantee that the method below works.
For example, we didn't manage to install War of Ages on a random computer run on Windows in 1.5 hours. :(
Whereas, on another computer everything went smoothly and the project was installed in 7 minutes.
So, good luck!
You will need MSYS2
, which you can install here.
You will also need CMake and git.
To install CMake
you could use MSYS2
also:
pacman -S mingw-w64-x86_64-cmake
pacman -S make
Also, make sure you've added directories with cmake.exe
and make.exe
to your PATH
variable.
Once you've installed them, run the following lines in MSYS2
to install all libs except of TGUI
:
pacman -S mingw-w64-x86_64-sfml
pacman -S mingw-w64-x86_64-boost
pacman -S mingw-w64-x86_64-sqlite3
If you are getting error while installing packages from MSYS2
try updating packages info with:
pacman -Syyu
Now open cmd and just run the following code line by line (skipping comments obviously) from an empty
directory to install TGUI
and build the project:
git clone https://github.com/kholkinilya/war_of_ages.git
mkdir -p war_of_ages\build
cd war_of_ages\build
git clone https://github.com/texus/TGUI.git
mkdir -p TGUI\build
cd TGUI\build
# MSYS Makefiles is one of possible generators, you can use another one
cmake .. -G="MSYS Makefiles" -DCMAKE_BUILD_TYPE=Debug -DTGUI_CXX_STANDARD=17 -DTGUI_BACKEND=SFML_GRAPHICS -DTGUI_BUILD_GUI_BUILDER=0
cmake --build . -j4
cd ..\..
cmake .. -G="MSYS Makefiles" -DTGUI_DIR=.\build\TGUI\build
cmake --build . -j4
cp TGUI\build\lib\tgui-d.dll .\client
mkdir -p ..\client\resources\sounds\music
client\war_of_ages_client.exe
Last beat is to install music (it's optional actually).
-
Just put the music you'd like to play while in lobby in
client/resources/sounds/lobby_music.{wav, ogg, flac}
. -
Also, you can install a battle music into
client/resources/sounds/battle_music.{wav, ogg, flac}
.
We personally recommend this one for lobby and this one (Middle_age_RPG_Theme_1.ogg
) for battle.
Seems to us that you are capable of installing it yourself since you are a Linux user.