Freeciv

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

Freeciv
Logo of Freeciv
Logo of Freeciv
Freeciv WebGL 3D running on freecivweb.org
Freeciv WebGL 3D running on freecivweb.org
Original author(s)Peter Unold, Claus Leth Gregersen, Allan Ove Kjeldbjerg
Developer(s)The Freeciv project
Initial release5 January 1996; 25 years ago (1996-01-05)
Stable release
2.6.2 / 15 February 2020; 11 months ago (2020-02-15)[1]
Repositoryhttps://github.com/freeciv/
Written inC, Lua, JavaScript
Engine
  • Simple DirectMedia Layer
  • GTK
  • Qt
Edit this at Wikidata
Operating systemUnix-like, Windows, more
Available in33 languages (some incomplete)
TypeTurn-based 4X strategy video game
LicenseFreeciv: GPLv2[2]
Freeciv-web: AGPLv3
Websitewww.freeciv.org Edit this on Wikidata

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 based version.[3] Released under the GNU General Public License,[2] 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. Freeciv is playable online at freecivweb.org

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[edit]

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.

A Freeciv game with full world map revealed (Freeciv version 1.11.5, GTK+ client, tinydent tileset, islands map generator).

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

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;[11] 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.[12][13][14]

Subsequent 1.x releases improved the GUI, improved the gameplay, and added many small features. Over time, the winning strategy proved to be city smallpox, 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 wasn't worthwhile.

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.[citation needed]

Version 2.0, released in 2005, introduced several important changes: it became beneficial to develop only a few large cities, full trade routes, and advanced technologies by re-balancing various costs and benefits; and the introduction of team playing features and advanced diplomacy made coop gaming more attractive. Developing one's empire now necessitated a careful plan for city development, including phases of rapture, in which city populations grow quickly, under relatively peaceful conditions; hence, games were almost always played in teams and typically took longer to finish when compared to 1.x games.[citation needed]

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

Reception and impact[edit]

In 2000 CNN placed Freeciv among the "Top 10 Linux games for the holidays".[17] In 2005, in an O'Reilly article on "Open Source Mac Gaming", Freeciv was recommended.[18] In 2008 APCMag.com 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] In 2016 Freeciv was used as a challenge after Chess and Go for a commercial AI.[28]

Design[edit]

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:

  • Number of players required before the game can be started. The maximum number of players is 126 in the latest version of Freeciv.
  • Speed of technological development
  • Whether there should be computer controlled players
  • Whether (computer controlled) barbarians should invade player settlements
  • How close cities can be built to one another
  • How continents and islands are generated and distributed over the map
  • The map size, where the maximum map size is 2,048,000 map tiles (128,000 before 2.4.0)
  • Map topology (rectangular or hexagonal tiling; whether it wraps horizontally and/or vertically)

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[edit]

Simplified Chinese in version 2.1

Freeciv's graphics system is configurable: originally, map display was always in overhead mode (like in Civ I).[29] 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.[30] Version 2.3 increased the limit of players from 30 to 126.

Dawning fanfare

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

Ports and variants[edit]

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.[34]

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.[35]

Freeciv-web[edit]

Screenshot of Freeciv WebGL 3D running on play.freeciv.org

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[36] 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.[37] 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.[38] Freeciv-web was originally created by Andreas Røsdal, but is now maintained by several Freeciv developers on Github.[39]

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.[40] Freeciv-web can be played online at a number of servers such as freecivweb.org.[41] 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[edit]

Greatturn Earth World rendering – match GT05

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.[42]

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.[43] As of April 2020, the latest game was LT53.[44] Changes to settings or rulesets are discussed in the Longturn forum.[45]

Greatturn was a similar concept on another server.[46][47] GaCivs is an MMO-RTS variant of FreeCiv, the ruleset was devised to support time-based instead of turn-based strategy.[48]

See also[edit]

References[edit]

  1. ^ "Freeciv homepage". Project news. Retrieved 20 February 2020.
  2. ^ a b copying on github.com/freeciv (accessed August 2018)
  3. ^ freecivweb.org
  4. ^ "Freeciv:In the Beginning". Freeciv.wikia.com. 19 January 2007. Retrieved 14 April 2009.
  5. ^ "Freeciv founded 20 years ago today!". Archived from the original on 10 February 2017. Retrieved 19 April 2016.
  6. ^ "Freeciv 1.0a source code (1996); see DESIGN". Archived from the original on 21 July 2011. Retrieved 14 June 2009.
  7. ^ "Freeciv 1.0k source code (1996); see CHANGES". Archived from the original on 21 July 2011. Retrieved 14 June 2009.
  8. ^ "''Building Freeciv: An Open Source Strategy Game'', by Howard Wen, on linuxdevcenter.com, Nov 21, 2001". Linuxdevcenter.com. Retrieved 14 April 2009.
  9. ^ Andreas Røsdal (14 November 2015). "Freeciv founded 20 years ago today!". Archived from the original on 10 February 2017. Retrieved 3 July 2017.
  10. ^ "freeciv_2.2.1-1_changelog". Retrieved 18 May 2017.[permanent dead link]
  11. ^ "README.AI (r4421)". Archived from the original on 3 September 2015. Retrieved 28 January 2014.
  12. ^ "Pubserver". Retrieved 28 November 2011.
  13. ^ "old snapshots of civserver.freeciv.org (archive.org Wayback Machine)". Archived from the original on 10 October 2006. Retrieved 29 November 2011.
  14. ^ "old snapshots of pubserver.freeciv.org archive (archive.org Wayback Machine)". Archived from the original on 5 February 2007. Retrieved 29 November 2011.
  15. ^ "Service Name and Transport Protocol Port Number Registry". IANA. January 2006. Retrieved 12 September 2016.
  16. ^ Freeciv project at Gna! (archived March 3, 2017)
  17. ^ Top 10 Linux games for the holidays by Lee Anderson on cnn.com (December 20, 2000, archived)
  18. ^ Open Source Mac Gaming Archived 16 September 2017 at the Wayback Machine by Robert Daeley on O'Reilly Media, Inc. (2005)
  19. ^ Sbarski, Peter (21 January 2008). "Top 5 best (free) open source games". APC. Retrieved 8 February 2010.
  20. ^ Linux Format 130 April 2010 page 72
  21. ^ Linux Format 189 October 2014 page 65
  22. ^ Eric S. Raymond (2003). "Case Study: Freeciv Data Files". The Art of Unix Programming. faqs.org. chapters 6+7. ISBN 0-13-142901-9. Retrieved 26 January 2014.
  23. ^ Ashok K. Goel; Joshua Jones (2011). "Metareasoning for Self-Adaptation in Intelligent Agents" (PDF). Metareasoning – Thinking about thinking. Yale Social Robotics Laboratory. Chapter 10.
  24. ^ Patrick Ulam; Joshua Jones; Ashok K. Goel (2008). "Combining Model-Based Meta-Reasoning and Reinforcement Learning for Adapting Game Playing Agents" (PDF). Georgia Tech.
  25. ^ Ian Watson; Damir Azhar; Yachu Yang; Wei Pan; Gary Chen (2005). "Optimization in Strategy Games: Using Genetic Algorithms to Optimize City Development in FreeCiv" (PDF). The University of Auckland. Archived from the original (PDF) on 20 March 2013.
  26. ^ Brian Schwab (2009). AI Game Engine Programming. pp. 234–240.
  27. ^ T. Lau (1999). "CSE 590AG: Applications of Artificial Intelligence". University of Washington.
  28. ^ "A Strategy Challenge". HIRO project Freeciv. arago.co. 2016. Retrieved 6 October 2017.
  29. ^ "a review on Free Games Net (1998)". Free-games-net.com. Archived from the original on 3 January 2009. Retrieved 14 April 2009.
  30. ^ "Freeciv Editor Page". Wikia. Retrieved 23 February 2010.
  31. ^ "Debian – Package Search Results – freeciv-client-".
  32. ^ "Freeciv - Translations". Wikia. Retrieved 19 April 2016.
  33. ^ BBC Naidheachdan (11 September 2011). Freeciv now available in Galic. Retrieved 19 April 2016.
  34. ^ "Freeciv". Google play.
  35. ^ "Freeciv Portable". PortableApps.com. 2014. Retrieved 13 February 2015.
  36. ^ "Freeciv-web play-by-email". The Freeciv-web Project. Retrieved 19 April 2016.
  37. ^ "Freeciv-web real-earth map". The Freeciv-web Project. Retrieved 19 April 2016.
  38. ^ "Freeciv web client documentation on freeciv.wikia.org". The Freeciv Project. Retrieved 14 February 2010.
  39. ^ "Freeciv-web on github". The Freeciv-web Project. Retrieved 19 April 2016.
  40. ^ "Freeciv project news". Freeciv.org. Archived from the original on 5 March 2018. Retrieved 8 March 2018.
  41. ^ "Freecivweb.org". The Freeciv-web Project. Retrieved 17 April 2018.
  42. ^ "Longturn website".
  43. ^ "Longturn introduction page".
  44. ^ "Longturn games list".
  45. ^ ""No more polls" – Longturn forum".
  46. ^ "Greatturn presentation page". Archived from the original on 17 May 2014.
  47. ^ ""Under New Management" – Civland Freeciv Forum". 10 September 2014. Retrieved 12 September 2016.
  48. ^ "GaCivs (Early access) - Apps on Google Play". play.google.com. Retrieved 21 June 2018.

External links[edit]