Skip to content

zekoz/freeciv21

 
 

Repository files navigation

Freeciv21

License: GPL v3+ Build CodeFactor Codacy Badge Coverity quality badge

Freeciv21 is an empire-building strategy game inspired by the history of human civilization. It takes its roots in the well-known FOSS game Freeciv and extends it for more fun, with a revived focus on competitive multiplayer environments.

Screenshot

The documentation is found on our documentation website.

Freeciv21 is maintained by folks from longturn.net. We welcome pull requests, bug reports and simple suggestions! Get in touch on Discord.

Installation

Windows

We provide Windows installers in the Assets section of every release (make sure to download the .exe file). After downloading, run the installer and follow the usual steps.

Linux

Linux users need to compile the code. Ubuntu 20.04 or higher is supported. See this link for the detailed procedure.

Install dependencies

You may need to adjust this command for your package manager. You need CMake 3.16 or higher, Qt 5.10 or higher, and Lua 5.3 or 5.4. You need to do this only once.

sudo apt install git cmake ninja-build g++ python3 gettext qt5-default \
  libkf5archive-dev liblua5.3-dev libsqlite3-dev libsdl2-mixer-dev

Get the code

Use this command the first time you download Freeciv21:

git clone https://github.com/longturn/freeciv21.git
cd freeciv21

Afterwards, you can refresh the code with:

cd freeciv21
git pull --ff-only

Compile

Freeciv21 uses a standard CMake workflow. We recommend building with Ninja:

cmake . -B build -G Ninja -DCMAKE_INSTALL_PREFIX=$HOME/freeciv21
cmake --build build

(Optional) Install

This will install the files in the directory $HOME/freeciv21 specified above:

cmake --build build --target install

About

Freeciv for the 21st century

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 83.9%
  • C 10.1%
  • Python 4.0%
  • CMake 0.8%
  • Lua 0.8%
  • Ruby 0.2%
  • Other 0.2%