Git Product home page Git Product logo

freeciv21's Introduction

Freeciv21

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

Screenshot


Freeciv21 is an empire-building strategy game inspired by the history of human civilization. The game commences in prehistory and your mission is to lead your tribe from the Stone Age to the Space Age. Freeciv21 takes its roots in the well-known FOSS game Freeciv and extends it for more fun, with a revived focus on competitive multiplayer environments.

Get started by reviewing our about page. Freeciv21 is maintained by the team from Longturn.net. We welcome pull requests, bug reports and simple suggestions! Get in touch on Discord. The #General channel is a great place to start.

The documentation is found on our documentation website.

Installation

Snap Edition

Get Freeciv21 from the Snap Store

Windows and macOS

We provide Windows and macOS installers in the Assets section of every release. Make sure to download the .exe or .dmg file depending on platform. After downloading, run the installer. The Windows install is documented here.

Linux

Linux users running on Debian (or one of the many variants such as Ubuntu) can download a package from the Assets section of every release (make sure to download the .deb file). After downloading, run the installer:

sudo apt install ./freeciv21_*_amd64.deb

Other Linux users will need to compile the code. Ubuntu 22.04 or higher is supported. See this link for the detailed procedure and a list of supported distributions. See below for a quick set of instructions for Debian based distributions.

Install dependencies

You may need to adjust this command for your package manager. You need CMake 3.16 or higher, Qt (base and SVG) 5.15 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 qtbase5-dev \
  libqt5svg5-dev 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

Using Nix

Alternatively, Freeciv21 can be used with Nix. For this, enable Nix flakes and run

nix run github:longturn/freeciv21#;

freeciv21's People

Contributors

cazfi avatar kvilhaugsvik avatar lmoureaux avatar jtn20 avatar mir3x avatar jwrober avatar vcosta avatar rdmark avatar jasondorjeshort avatar cproc avatar was4 avatar perim avatar psampathkumar avatar jcreusand avatar persia avatar bluss avatar zekoz avatar hunter688 avatar eneg avatar ec429 avatar igx31 avatar nikea-soft avatar eric-s-raymond avatar kscanne avatar infyquest avatar katajanmarja avatar koffy25 avatar daavko avatar mstefani avatar andreasrosdal avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.