Jump to content

Freeciv

From Alfawiki
Freeciv
Company typeOpen source project
IndustryVideo game development
FoundedJanuary 1996; 30 years ago (1996-01)
FounderPeter Unold, Claus Leth Gregersen, Allan Ove Kjeldbjerg
Area served
Worldwide
Key people
Freeciv project community
ProductsFreeciv (turn-based strategy game)
OwnerFreeciv project community
Websitefreeciv.org

Freeciv is a free and open-source turn-based strategy game designed for personal computers and workstations, drawing inspiration from the commercial Sid Meier's Civilization franchise. It offers both single-player and multiplayer experiences and runs on a wide array of desktop operating systems, including a browser-based online edition. Distributed under the GNU GPL-2.0-or-later license, Freeciv is developed and supported by the Freeciv project community.

The standard game configuration closely mirrors the gameplay and visual style of Civilization II, utilizing an isometric grid layout and comparable unit types. Nevertheless, vibrant multiplayer communities have created numerous alternate rulesets and variants. Players can join through various public and private servers worldwide.

In Freeciv, participants take on the role of tribal chiefs beginning in 4000 B.C., steering their civilizations through technological progress that unlocks new structures and military units. Strategic decisions encompass warfare and diplomacy. The game ends when one civilization eliminates all opponents, achieves space colonization, or reaches a predetermined time limit; if multiple civilizations survive until then, victory is awarded to the player with the highest score based on territory size, wealth, culture, and scientific achievements.

History

In November 1995, at the computer science department of Aarhus University, three students—Peter Unold, Claus Leth Gregersen, and Allan Ove Kjeldbjerg—initiated development of an X-based multiplayer strategy game inspired by Civilization and XPilot. The first playable version was released in January 1996, combining Civilization-style rules with the client/server architecture from XPilot.

Although this initial release demonstrated the concept's viability, the creators found it lacking in engagement and returned focus to XPilot. Subsequently, additional contributors expanded Freeciv to support multiple platforms such as Linux, Solaris, AmigaOS, and Microsoft Windows, resulting in its inclusion within various Linux distributions.

The core objective was to develop a Civilization-like game optimized for Internet play over low-bandwidth connections. This was accomplished through an asynchronous client-server protocol permitting simultaneous player turns, ensuring smooth gameplay despite network delays.

In 1998, computer-controlled opponents were introduced to enhance challenge levels for new players. These AI-controlled entities operate server-side during intervals between human turns. The game's popularity increased alongside the establishment of a public server offering continuous gameplay, post-game analysis tools, and animated replays.

Subsequent 1.x releases improved the graphical user interface, gameplay mechanics, and network connectivity. A prevailing winning tactic known as "city smallpox" emerged—rapidly founding many small cities—which prioritized expansion speed over city development. By 2002, experienced players frequently formed teams; forks of Freeciv incorporated team-specific features.

Version 2.0, released in 2005, added sophisticated diplomacy and team play options fostering cooperative strategies. Gameplay balance adjustments mitigated the dominance of city smallpox tactics by emphasizing strategic city growth, trade routes, and population phases. Multiplayer sessions grew longer and predominantly team-oriented.

In 2006, IANA officially assigned TCP/UDP port 5556 to Freeciv. After hosting its source code on Gna! for 15 years, the project migrated to GitHub in 2017.

Reception and impact

In 2000, CNN recognized Freeciv among the "Top 10 Linux games for the holidays". An article by O'Reilly in 2005 on "Open Source Mac Gaming" recommended it as well. By 2008, APC included it in their "Top 5 best (free) open source games". The magazine Linux Format featured it as a "HotPick" in April 2010 and again in October 2014.

Eric S. Raymond cited Freeciv as a significant example in his book The Art of Unix Programming. Additionally, it has been employed in academic research and coursework as a platform for developing intelligent agents, underscoring its importance in AI studies and innovations in game design.

Design

The game offers extensive customization options allowing play in Freeciv’s default mode or emulations of Civilization, Civilization II, or other custom rule sets. Game administrators can configure parameters such as:

  • Minimum number of players required to start (up to 126 in recent versions)
  • Rate of technological advancement
  • Presence of AI opponents and barbarian invasions
  • Restrictions on city proximity
  • Map generation settings including continent and island distribution
  • Map dimensions (up to 2,048,000 tiles)
  • Map topology choices (rectangular or hexagonal tiles; horizontal/vertical wrapping)

Players connect Freeciv clients to a centralized Freeciv server. Initially, the server remains in a pre-game state for configuration and client connections. Upon starting the game session, it generates players and map data while assigning player control to human clients or AI as specified. The match proceeds until conclusion or manual termination; once started, reverting to pre-game is not possible. Alternatively, games may be launched directly from clients which initiate servers automatically.

Features

The graphical presentation is adaptable: initially featuring an overhead perspective akin to Civ I, later versions added isometric views similar to Civ II and III, with optional hexagonal tiles reminiscent of Civ V and VI. Users can toggle between various tilesets and audio themes. The game supports both human multiplayer matches with simultaneous turns and AI opponents whose moves occur sequentially at turn start or end.

Before version 2.0, AI lacked diplomatic interactions with human players; current versions incorporate rule-based AI diplomacy with predictable behavior patterns. Version 2.2.0 introduced Civworld—a map editor enabling scenario creation and map modifications—though scripting capabilities remain limited outside Civworld. Version 2.3 expanded maximum player capacity from 30 up to 126 participants.

Several client interfaces exist including those based on SDL, GTK+ (version 3), Xaw3D, and since version 2.5 a Qt client. The interface supports more than 30 languages; notable media attention was given when Gaelic was added.

Ports and variants

Initially developed on IRIX, Freeciv has been ported extensively across operating systems: it is bundled with numerous Linux distributions; installers are available for Microsoft Windows, while versions run on Mac OS X, MorphOS, Solaris, Ultrix, QNX, OS/2, Cygwin, AmigaOS, AROS, RISC OS, Maemo, ZETA, SkyOS, several variants of BSD, as well as Android devices.

Support for Mac OS X was temporarily suspended between versions 2.4 and 3.1 but resumed in March 2023. Since version 2.3, Windows editions older than Windows XP SP3 are no longer supported. Freeciv is also distributed via the PortableApps.com platform.

Freeciv21

Freeciv21 is a fork focused on updating the codebase and client user interface tailored towards multiplayer longturn variants. Initiated by the Longturn.net community, it reached advanced development stages by January 2023; its inaugural standard Longturn match (LT75) commenced in November 2022.

fciv.net

Fciv.net was a web-based Freeciv variant emphasizing three-dimensional graphics powered by the Three.js engine; however, as of February 2025, this site is no longer active.

freecivx.net

freecivx.net provides a free-to-play Freeciv version featuring 3D graphics using Three.js. It integrates OpenAI technology for AI/LLM assistance within gameplay and includes a Java-based client and server currently under development.

Freeciv-web

Freeciv-web offers an online edition playable through modern browsers supporting either 2D isometric or WebGL-powered 3D graphics. Forked from the original project codebase, it reimagines the desktop experience for online play while adding unique features such as play-by-email functionality and real-world map selection via Mapbox—an uncommon feature among commercial titles of this type. Its default gameplay mechanics closely resemble those of Civilization II.

Conceived in April 2007 by Andreas Røsdal and now maintained collaboratively on GitHub by multiple developers, Freeciv-web remains free and open-source: its server runs under the GNU General Public License while its client uses the GNU Affero General Public License. It supports both human multiplayer matches and AI opponents though some interface components remain less mature compared to the original C client.

The official Freeciv-web server hosted at play.freeciv.org shut down in March 2018 but volunteers revived service at freecivweb.org. Various servers provide comprehensive gameplay modes including single-player campaigns, multiplayer free-for-all matches, play-by-email options, as well as specialized longturn formats.

Longturn variants

The Freeciv Longturn variant caters to large-scale multiplayer strategy games featuring daylong turns involving approximately 20 to 30 participants per map—facilitating extended strategic planning over weeks or months.[1]

The inaugural Longturn match LT0 began around 2004 on Poland’s Civilization fan site civ.org.pl; it now operates at Longturn.net. To accelerate gameplay pacing, a "3X movement" ruleset was adopted that triples unit movement points along with vision radius.[2] As of December 2022, LT76 was underway.[3] Rule modifications are actively discussed within Longturn forums[4] and Discord channels where community engagement thrives. Development continues on specialized longturn multiplayer rulesets that diverge from traditional single-player Civilization mechanics.

A similar initiative named Greatturn ran on another server.[5][6] Meanwhile,FreeCivWeb.org[7] hosts longturn matches with over fifty completed by mid-2021 supported by extensive multiplayer rules documentation.[8]

Power of Planets – Earth (formerly known as GaCivs) represents a free-to-play MMO-RTS variant built upon FreeCiv’s foundation but designed for continuous real-time gameplay rather than turn-based strategy.[9]

See also

External links

  1. ↑ Longturn website
  2. ↑ Longturn introduction page
  3. ↑ Longturn games list
  4. ↑ "No more polls" – Longturn forum
  5. ↑ Greatturn presentation page
  6. ↑ "Under New Management" – Civland Freeciv Forum
  7. ↑ Cite error: Invalid <ref> tag; no text was provided for refs named freecivweb
  8. ↑ Cite error: Invalid <ref> tag; no text was provided for refs named freecivwebmpmanual
  9. ↑ Power of Planets – Earth