Freeciv Explained

Freeciv
Logo Caption:Logo of Freeciv
Author:Peter Unold, Claus Leth Gregersen, Allan Ove Kjeldbjerg
Developer:The Freeciv project
Latest Release Version:3.1.0
Latest Release Date:[1]
Latest Preview Version:3.1.0
Operating System:Unix-like, Windows, more
Genre:Turn-based 4X strategy video game
Programming Language:C, Lua, JavaScript
License:Freeciv: GPL-2.0-or-later[2]
Freeciv-web: AGPL-3.0-or-later
Website:https://www.freeciv.org
Repo:https://github.com/freeciv/
Language Count:33
Language Footnote: (some incomplete)

Freeciv is a single- and multiplayer turn-based strategy game for workstations and personal computers inspired by the proprietary Sid Meier's Civilization series. It is available for most desktop computer operating systems and available in an online browser version.[3] Released under the GNU GPL-2.0-or-later, Freeciv is free and open-source software. The game's default settings are closest to Civilization II, in both gameplay and graphics, including the units and the isometric grid. However, with a lot of multiplayer games being played in longturn communities, rulesets and additional variants have evolved away from the original ruleset. Freeciv is playable online at Longturn.net, fciv.net, freecivweb.org and some temporary private servers.

Players take the role of tribal leaders in 4000 B.C. who must guide their peoples through the centuries. Over time, new technologies are discovered, which allow the construction of new city buildings and the deployment of new units. Players can wage war on one another or form diplomatic relationships.

The game ends when one civilization has eradicated all others or accomplished the goal of space colonization, or at a given deadline. If more than one civilization remains at the deadline, the player with the highest score wins. Points are awarded for the size of a civilization, its wealth, and cultural and scientific advances.

History

At the computer science department at Aarhus University, three students, avid players of XPilot and of Sid Meier's Civilization, which was a stand-alone PC game for MS-DOS, decided to find out whether the two could be fused into an X-based multiplayer Civilization-like strategy game.[4] The students—Peter Unold, Claus Leth Gregersen and Allan Ove Kjeldbjerg—started development in November 1995;[5] the first playable version was released in January 1996, with bugfixing and small enhancements until April.[6] [7] The rules of the game were close to Civilization, while the client/server architecture was basically that of XPilot.

For the developers, Freeciv 1.0 was a successful proof of concept, but a rather boring game, so they went back to XPilot.[8] Other players and developers took over; they made the game available on many other operating systems, including Linux, Solaris, Ultrix, AmigaOS, and Microsoft Windows. Linux distributions started to include Freeciv.[9]

The main development goal remained to make a Civilization-like game playable over the Internet, with participants on different continents, even when connected with 14400 bit/s modems. Freeciv achieved this by using an asynchronous client-server protocol: during each turn, human users play concurrently, and their actions are sent to the server for processing without awaiting the results. This kept the game playable with network latency up to a few hundreds of milliseconds. In 1998, computer players were added;[10] they could soon beat newcomers to the game with ease, using only minor forms of cheating. Computer players are implemented directly in the server; they do not play concurrently with human players, but separately, in between turns.

The game grew in popularity. A public server was installed on which games could be played around the clock; it retained the games and published a post-game analysis webpage with per-player statistics and an animated map replay.[11] [12] [13]

Subsequent 1.x releases improved the GUI, improved the gameplay, optimized playability over poor connections, and added many small features. Over time, the winning strategy proved to be city smallpox, i.e. sprawling the map with many small cities as fast as possible; whoever could develop fastest would win the game, and growing and developing individual cities was not worthwhile.[14]

In practice, from around 2002, experienced players would form teams at the start of the game; a fork of Freeciv included specific features for team play.

Version 2.0, released in 2005, introduced several important changes. New team playing features and advanced diplomacy made cooperative gaming more attractive. Adjustments to various costs and benefits put an end to the dominance of the city smallpox strategy that left many of the game's features unused; developing one's empire now necessitated a careful plan for city development, including the used of trade routes and phases of rapture, in which city populations grow quickly, under relatively peaceful conditions. As a result, multiplayer games were almost always played in teams and typically took longer to finish when compared to 1.x games.[15]

In 2006, TCP and UDP port number 5556 was assigned to Freeciv by IANA.[16] In 2017, after being hosted on Gna! for 15 years, Freeciv moved its source repository to GitHub.[17]

Reception and impact

In 2000, CNN placed Freeciv among the "Top 10 Linux games for the holidays".[18] In 2005, in an O'Reilly article on "Open Source Mac Gaming", Freeciv was recommended. In 2008, APC named Freeciv among the "Top 5 best (free) open source games".[19] Linux Format selected it as "HotPick" in April 2010 and in October 2014.[20] [21]

Freeciv was described as an example in The Art of Unix Programming by Eric S. Raymond.[22] Studies and courses have used Freeciv as a platform for experimenting with the design and programming of intelligent agents.[23] [24] [25] [26] [27]

Design

Freeciv is very configurable, down to the specific rules, so it can be played in Freeciv (default) mode, Civilization mode, Civilization II mode, or a custom mode. One or several players act as game administrators and can configure the game rules. Typically modified rules are:

In order to play a game of Freeciv, a user must start up a Freeciv client and connect it to a Freeciv server. Initially, the server is in pre-game phase; in this phase, clients can connect and game configuration parameters can be changed. At some point, the server may be ordered to start a game; in response, it creates game players (nations) and the game map, and assigns every player to either a Freeciv client or a computer player, as specified by the configuration. From that point on, the game will run until it ends or is terminated; the server can never get back into pre-game state. The user can also start a game directly from the client: this automatically starts a Freeciv server, connects to it and starts the game.

Features

Freeciv's graphics system is configurable: originally, map display was always in overhead mode (like in Civ I).[28] Isometric mode (like in Civ II and III) and optionally hexagonal tiling (like in Civ V and VI) were added later. In both modes, look can be further customized by switching to an alternative set of graphics (called a tileset). The sounds can be replaced as well. Freeciv supports human-to-human multiplayer gameplay and artificial intelligence (AI) computer players. While the game is turn based, human players move simultaneously. The AI players move separately, partly at the start of a turn, partly at the end.

In releases before 2.0, AI players could not engage in diplomatic relationships with human players. Under the current releases, AI players will engage in a very predictable, rules-based diplomacy. Version 2.2.0 included a map editor, termed Civworld. It can create new scenarios, as well as edit the map currently being played. Basic scripting is available with Freeciv, but is not available in Civworld.[29] Version 2.3 increased the limit of players from 30 to 126.

There are different clients available SDL, GTK+ (version3) and Xaw3D[30] A Qt client was added in version 2.5. The Freeciv interface is available in over 30 different languages.[31] The addition of Gaelic was covered on BBC TV.[32]

Ports and variants

Originally developed on IRIX, Freeciv has been ported to many different operating systems: it is distributed with many Linux distributions, offers installers for Microsoft Windows, and has been known to run on Mac OS X, MorphOS, Solaris, Ultrix, QNX, OS/2, Cygwin, AmigaOS, AROS, RISC OS, Maemo, ZETA, SkyOS, various BSDs, and smartphones and tablets running Android.[33]

As of version 2.4, Mac OS X, and as of version 2.3, Windows versions older than Windows XP SP3 are no longer supported. Freeciv is available in the PortableApps format.[34]

Freeciv21

Freeciv21 is a fork of the original Freeciv project started with the intention of modernizing the code and the client interface, and also adjusting the software more to the needs of multiplayer longturn variant.[35] [36] It was started by enthusiasts within the Longturn.net community. As of January 2023 it is in late developing stage. The first standard Longturn game played on Fc21 software was LT75, started in November 2022.

FCIV.NET

FCIV.NET is a variant of Freeciv which focuses on 3D graphics and is playable for free on www.fciv.net (site no longer working). It uses the Three.js 3D engine.[37]

Freeciv-web

Freeciv-web is a version of Freeciv playable online in any modern web browser. It supports 2D isometric graphics or 3D graphics using WebGL. The game is a fork of the Freeciv project, with the goal of redesigning the desktop game into a version which can be played online. Freeciv-web introduced several new features, such as play-by-email support[38] freely available to anyone online, and support for playing the game on any real-world map location by choosing a map using Mapbox, which is not available in commercial games in the genre.[39] The game's default settings are closest to Civilization II, both in gameplay and graphics (including the units and the isometric grid). The proposal to create a web-version of Freeciv was made 6 April 2007 on the Freeciv mailing lists, and documented on the Freeciv.org wiki.[40] Freeciv-web was originally created by Andreas Røsdal, but is now maintained by several Freeciv developers on GitHub.[41]

Freeciv-web is free and open-source software. The Freeciv C server is released under the GNU General Public License, while the Freeciv-web client is released under the GNU Affero General Public License. Freeciv-web supports human-to-human multiplayer gameplay and artificial intelligence (AI) computer players. Its features are similar to the Freeciv C client, although not all of the user-interface has been ported from the C client yet.

The Freeciv-web server on play.freeciv.org was shut down in March 2018, but the project was revived by a group of volunteers on freecivweb.org.[42] Freeciv-web can be played online at a number of servers such as freecivweb.org. All the features required to play a full game of Freeciv are in place. Most servers offer multiple varieties of the game: single-player, multiplayer free-for-all, play-by-email and longturn.

Longturn variants

Freeciv Longturn is a specialized large-group-multiplayer-online-strategy variant of Freeciv featuring daylong game turns with large amounts of human opponents per map, allowing for optimal timing to build up strategic plans and readapt them to the circumstances of each turn. Matches can last anytime from a few weeks to months, and commonly involve 20 to 30 players in each one.[43]

Longturn's first game, now called LT0, started around 2004 on the Polish Civilization fanpage civ.org.pl and is now conducted at Longturn.net. It was decided that the game is a bit too slow-paced, so a new "3X movement" ruleset was devised – basically, all units had their movement points and vision radius tripled.[44] As of December 2022, the latest game was LT76.[45] Changes to settings or rulesets are discussed in the Longturn forum.[46] and, recently, Longturn Discord server where the community is currently centered. There is ongoing development of a few non-standard rulesets specifically adjusted for longturn multiplayer games, diverging from the rules of the original Civilization which was created as a single-player game.

Greatturn was a similar concept on another server.[47] [48] FreeCivWeb.org also offers longturn games (more than fifty have been played before mid-2021) with a multiplayer ruleset which is documented in great detail.[49]

Power of Planets – Earth (formerly known as GaCivs) is a free-to-play MMO-RTS variant based on FreeCiv. The ruleset was devised to support long-term time-based gameplay instead of turn-based strategy.[50]

See also

References

Notes and References

  1. Web site: Freeciv homepage. Project news. 8 Mar 2024.
  2. Web site: copying. github.com/freeciv. 4 May 2021.
  3. Web site: Freecivweb.org. The Freeciv-web Project. 17 April 2018.
  4. Web site: Freeciv:In the Beginning . Freeciv.wikia.com . 19 January 2007 . 14 April 2009.
  5. Web site: Freeciv founded 20 years ago today!. 19 April 2016. https://web.archive.org/web/20170210171737/http://play.freeciv.org/blog/2015/11/freeciv-founded-20-years-ago-today/. 10 February 2017. dead.
  6. Web site: Freeciv 1.0a source code (1996); see DESIGN. 14 June 2009. https://web.archive.org/web/20110721072143/http://download.gna.org/freeciv/stable/OLD/freeciv-1.0a.tar.gz. 21 July 2011. dead.
  7. Web site: Freeciv 1.0k source code (1996); see CHANGES. 14 June 2009. https://web.archive.org/web/20110721072200/http://download.gna.org/freeciv/stable/OLD/freeciv-1.0k.tar.gz. 21 July 2011. dead.
  8. Web site: Building Freeciv: An Open Source Strategy Game. Howard. Wen. 21 November 2001. Linuxdevcenter.com. 14 April 2009.
  9. Web site: freeciv_2.2.1-1_changelog . 18 May 2017 .
  10. Web site: README.AI (r4421). 28 January 2014. https://web.archive.org/web/20150903224345/http://svn.gna.org/viewcvs/freeciv/branches/S2_1/doc/README.AI?revision=4421&view=markup. 3 September 2015. dead.
  11. Web site: Pubserver. 28 November 2011.
  12. Web site: old snapshots of civserver.freeciv.org (archive.org Wayback Machine). 29 November 2011. https://web.archive.org/web/20061010092553/http://civserver.freeciv.org/. 10 October 2006. dead.
  13. Web site: old snapshots of pubserver.freeciv.org archive (archive.org Wayback Machine). 29 November 2011. https://web.archive.org/web/20070205192019/http://pubserver.freeciv.org/. 5 February 2007. dead.
  14. Philip A. . Houk . A Strategic Game Playing Agent for FreeCiv . NWU-CS-04-29 . Northwestern University . https://web.archive.org/web/20220301024126/https://www.mccormick.northwestern.edu/computer-science/documents/tech-reports/1999-2004/NWU-CS-04-29.pdf . 2022-03-01 . live . 2004 . 21.
  15. Web site: 2005-03-01 . Freeciv – Freeciv . 2024-02-02 . 1 March 2005 . https://web.archive.org/web/20050301020952/http://www.freeciv.org/index.php/Freeciv . dead .
  16. Web site: Service Name and Transport Protocol Port Number Registry. IANA. January 2006. 12 September 2016.
  17. https://web.archive.org/web/20170307021144/http://gna.org/projects/freeciv Freeciv project
  18. Lee Anderson (20 December 2000), "Top 10 Linux games for the holidays". CNN.
  19. Web site: Sbarski . Peter . 21 January 2008 . Top 5 best (free) open source games . https://web.archive.org/web/20160528144336/http://apcmag.com/top_5_best_free_open_source_games.htm/ . 28 May 2016 . 8 February 2010 . APC.
  20. https://archive.org/stream/Linux_Format_130_April_2010/#page/n71/mode/2up/search/hotgames Linux Format 130
  21. https://archive.org/stream/Linux_Format_189_October_2014/#page/n65/mode/2up/search/hotgames Linux Format 189
  22. Book: Case Study: Freeciv Data Files . . Eric S. Raymond . Eric S. Raymond . 2003 . faqs.org . 0-13-142901-9 . chapters 6+7 . 26 January 2014 . 22 January 2014 . https://web.archive.org/web/20140122223053/http://www.faqs.org/docs/artu/ch06s01.html#id2914115 . dead .
  23. Web site: Metareasoning for Self-Adaptation in Intelligent Agents . Yale Social Robotics Laboratory . PDF . Ashok K. Goel . Joshua Jones . Chapter 10 . Metareasoning – Thinking about thinking . 2011 . 28 January 2014 . 3 February 2014 . https://web.archive.org/web/20140203024401/http://www.scazlab.com/justin/publications/79208593-Metareasoning-metacognition.pdf#page=160 . dead .
  24. Web site: Combining Model-Based Meta-Reasoning and Reinforcement Learning for Adapting Game Playing Agents . Patrick Ulam . Joshua Jones . Ashok K. Goel . 2008 . . 28 January 2014 . 1 February 2014 . https://web.archive.org/web/20140201213815/http://home.cc.gatech.edu/dil/uploads/6/aiide2-08.pdf . dead .
  25. Web site: Optimization in Strategy Games: Using Genetic Algorithms to Optimize City Development in FreeCiv . Ian Watson . Damir Azhar . Yachu Yang . Wei Pan . Gary Chen . 2005 . dead . https://web.archive.org/web/20130320062203/https://cs.auckland.ac.nz/research/gameai/projects/GA%20in%20FreeCiv.pdf . 20 March 2013 . dmy-all . .
  26. Book: AI Game Engine Programming . Brian Schwab . 234–240 . 2009 . Course Technology . 9781584506287 .
  27. Web site: CSE 590AG: Applications of Artificial Intelligence . T. Lau . . 1999 . 28 January 2014 . 1 February 2014 . https://web.archive.org/web/20140201191224/http://courses.cs.washington.edu/courses/cse590ag/99sp/ . dead .
  28. Web site: a review on Free Games Net (1998) . Free-games-net.com . 14 April 2009 . dead . https://web.archive.org/web/20090103220500/http://www.free-games-net.com/games/freeciv.shtml . 3 January 2009 .
  29. Web site: Freeciv Editor Page . Wikia . 23 February 2010.
  30. Web site: Debian – Package Search Results – freeciv-client-.
  31. Web site: Freeciv – Translations. Wikia. 19 April 2016.
  32. Freeciv now available in Galic. BBC Naidheachdan. 11 September 2011. 19 April 2016.
  33. Web site: Freeciv. Google play.
  34. Web site: Freeciv Portable. . 2014 . 13 February 2015.
  35. Web site: Freeciv21 . .
  36. Web site: Welcome to the Freeciv21 manual — Freeciv21 Manual .
  37. Web site: FCiv.net December 2022 showcase. 19 December 2022.
  38. Web site: Freeciv-web play-by-email.. The Freeciv-web Project. 19 April 2016.
  39. Web site: Freeciv-web real-earth map.. The Freeciv-web Project. 19 April 2016. 18 April 2018. https://web.archive.org/web/20180418092945/https://www.freecivweb.org/freeciv-earth/. dead.
  40. Web site: Freeciv web client documentation on freeciv.wikia.org.. The Freeciv Project. 14 February 2010.
  41. Web site: Freeciv-web on github.. The Freeciv-web Project. 19 April 2016.
  42. Web site: Freeciv project news. Freeciv.org. 8 March 2018. https://web.archive.org/web/20180305150458/http://www.freeciv.org/ . 5 March 2018 . live.
  43. Web site: Longturn website.
  44. Web site: Longturn introduction page.
  45. Web site: Longturn games list.
  46. Web site: "No more polls" – Longturn forum . 22 April 2020 . 21 October 2021 . https://web.archive.org/web/20211021010832/http://forum.longturn.net/viewtopic.php?id=398 . dead .
  47. Web site: Greatturn presentation page . https://web.archive.org/web/20140517130544/http://civland.org/greatturn/ . 17 May 2014 . dead.
  48. Web site: "Under New Management" – Civland Freeciv Forum. 10 September 2014. 12 September 2016. 13 March 2016. https://web.archive.org/web/20160313030650/http://civland.org/forum/viewtopic.php?f=6&hilit=greatturn&t=1106. dead.
  49. Web site: FreecivWeb.org Multiplayer II: Caravel, Game Manual. https://web.archive.org/web/20210729234223/https://freeciv.fandom.com/wiki/Multiplayer_II:_Caravel,_Game_Manual. 29 July 2021.
  50. Web site: Power of Planets – Earth. itch.io. en. 2022-02-20.