<<

LINUX USER

The Freeciv Strategy Game World Domination

he Andy Empire is at the zenith of Wanted: Amateur politicians and part-time rulers for responsible position as its power when a fleet of raiders Tfrom Johnia lands on its coasts. head of state. In Freeciv, the classic role-playing game, you can head the Passville, and Regentstown succumb to the wild force of warrior hordes; the cap- transition of a from a nomadic tribe to a world power. ital, Freeonia, can only be rescued by a BY ELISABETH BAUER AND ANDREA MÜLLER massive arms race, and a counter assault. While these two parties are fighting, a third party seizes its opportu- nity: while the Andy-Johnian conflict is at its fiercest, a message from the Lizians arrives, announcing that they have just won the game via a peaceful approach by flying to Alpha-Centauri. It would seem that investing in research and development does pay… Welcome to the world of Freeciv, the free version of the classic strategy game, Civilization, which has fascinated whole generations of world conquerors and founding fathers. The idea of the game is easily explained. The goal of Freeciv is no less than achieving world domination – either by military or technological ad- vances. Each player starts off with two settlers and a guide in the year 4000 BC. The idea is to found a settlement with this society, to build up an infrastructure, introduce trade and research and to keep your nose in front of the other players. Figure 1:The Freeciv interface. An advanced game with a large area of explored territory

Installing Freeciv on SuSE •You will be prompted to insert CD The freeciv menu item launches the Red Hat users can just start playing, but number 2. After doing so, click on OK Freeciv client, which will initially SuSE users, will first need to install to start installing the game. The YaST2 prompt you for a connection. You freeciv. The SuSE work menu allows you software installation module termi- can either attach to a game server in the to perform this step quickly: nates automatically after installing the local network, or on the Internet, or you • In the Work menu select install software. can launch a server on your own software package / Games / Tactics and SuSE users will then find the newly machine. Strategy / CIVclient. This menu also installed programs in the Games / Tac- Although the Freeciv server menu entry contains the CIVserver option, but in tics and Strategy area of the KDE menu. would suggest otherwise, SuSE users fact it does not matter which option civworld is also installed on SuSE 8.2. should not launch the server via this you choose, as both programs are part This program allows you to design your menu item, as SuSE has configured the of the freeciv package. Those who have own Freeciv worlds. entry incorrectly – although the server already updated to SuSE 8.2 will dis- launches, you cannot access the server cover that the installation menu item Starting & Playing the Game to start a game. However, you can launch has now moved to install software Freeciv comprises two distinct programs: a terminal window instead, and type package / Games / Tactics and Strategy civserver handles the game operations civserver as a command. The modified / Freeciv (Strategy Game). and organization; civclient provides the prompt and the welcome message indi- • Enter your root password in the dialog players with a GUI and transmits their cate that you are now accessing the box that then appears and click OK. commands and moves to the server. command center for the Freeciv server.

80 August 2003 www.-magazine.com Freeciv LINUX USER

The set aifill=4 creates three comput- construct new buildings or units. A sion number. The next thing to decide on erized opponents – artificial intelligences nation of mariners would need to con- is who will run the server. After sorting (or AIs for short) – for you to battle centrate research efforts on navigation. that out, follow these steps: against. If you want to play a solo game The competition between civilizations • The server provider connects to the to get yourself into the flow, simply omit is enormous – to succeed, you will need Internet and launches civserver in a the set aifill= command. something more imaginative than simple terminal session. Use the K menu to launch the Freeciv temples. A world wonder is a good way • The player who launched the server client and click on Connect in the dialog to really impress your opponents. needs to tells the other players the IP box that appears. The server settings address, by phone, email or IRC. should point to port 5555 on localhost. Saving and Ending a Game • After connecting to the Internet, all Now type start at the server console Trying to finish a game of Freeciv in your opponents, including the server The client will first prompt you to specify one day is extremely hard going. The provider, will need to launch their a nationality and a name for your leader Freeciv server will save the game auto- Freeciv clients. figure, and then start right in the middle matically every couple of hundred years • Players will need to enter the IP for the of the game. You can then guide your game time. This allows you to restore the server in the Connect to Freeciv server units – two caravans and a guide – to game at its current levels. save dialog box and then click on Connect. scout the unknown territory and find a name_of_game allows you to save the • The server shows the connected play- good spot for your future capital. Table 1 game at any time, and quit terminates ers. After everyone has connected, the contains a list of keyboard shortcuts. the server. To restore a saved game, call server master can kick off the game The game is divided up into rounds, civserver --file name_of_game. using start. Game options can be set with each unit having one turn per using the set command. round. The units will flash to indicate The Battle on the Network • And off you go. The bottom line of the that it is their turn. If none of your units If you prefer to battle it out with human main window allows you to exchange are flashing, click on Done. Your artificial opponents, again Freeciv is a good messages with other players. opponents will now take their turns. choice. Just like its commercial siblings, Freeciv is a networked game, and play- Removing Obstacles Cities ing against friends across the local If you are having trouble connecting to Cities are the focus of civilization in network, or the global Internet, is not the server, this may be due to firewall Freeciv. After locating a suitable spot, much more complex than the solo game. configuration. The server provider may you can start to convince your nomads Each player will need a Freeciv client need to modify their firewall configura- that it might be a good idea to settle. The (incidentally, the client is not only avail- tion for the duration of the game. If you b key or the Commands/Build city func- able for Linux, but also in Windows and do not want to do so, you might like to tion will do that. MacOS X versions) with the same ver- try one of the Freeciv Metaservers. ■ You can click on your city to display an overview, containing the number of Table 1: Keyboard Shortcuts inhabitants, the area ruled by the city, its Shortcut Action Effect production and income figures, and lots [Return] End round Return or Enter ends a round – even if your units could of other statistics. The Edit button allows still make a move. you to specify what should be produce in b Build city Fields with cities are automatically assigned a road and the next few rounds. The artefacts all will have at least one trading point. serve a specific function: Barracks will g Move a figure to a specific location. You can use the mouse to choose a target for the figure to make the figure move towards that point in the next increase the impact made by your war- few rounds. riors, grain stores will help to avoid [Shift-d] Disband unit. Population control by keyboard.This unit will not cause famine and settlers can irrigate the sur- any expense for your home city after this. rounding fields and/or found new cities. Space no action for the current unit. The unit will miss a round – this is useful if units are waiting for something,such as the completion of a Science and Research transport vessel. The scant production options available w wait The unit’s turn will be later in this round. to your city are indicative of your set- [Shift-f] Display list of cities. Double clicking will shift the focus to a city. tlers’ early stage of civilization. You s Guard (only for military units) The unit will guard this point and automatically challenge any attacking troops. should not worry as there is quite a lot of r Build road; on fields already An additional trading point will be assigned to the field. research going on. [F6] or the menu item containing a road:lay down railtracks Reports/Research shows you what your (assuming trains have been invented) civilization is focussing on at present. Of i Build irrigation; irrigated fields can The field will then produce an additional food unit. course, as an absolute ruler, you can dic- be used as arable land later. tate research projects and goals. m Create a mine in a mining field,or The field is assigned three additional production units. Discoveries tend to leverage previous change a territory to a forest. However,building a mine will produce one food unit less. A forest field is assigned an additional production point. discoveries, and allow your settlers to

www.linux-magazine.com August 2003 81