SourceFiles.org - Use the Source, Luke
Home | Register | News | Forums | Guide | MyLinks | Bookmark

Sponsored Links

Latest News
  General News
  Reviews
  Press Releases
  Software
  Hardware
  Security
  Tutorials
  Off Topic


Back to files

The Capitalist Handbook
Daniel Hermann hoermen@users.sourceforge.net Version 0.2.1 , Mon Aug 7 11:34:41 CEST 2006

This Handbook describes Capitalist Version 0.2.1.


Table of Contents

  1. Introduction 1.1 Changes

    1.1.1 v0.1 1.1.2 v0.2 1.1.3 v0.2.1

  2. Installation 2.1 How to obtain Capitalist 2.2 Requirements

    2.2.1 Server 2.2.2 Client 2.3 Compilation and installation

  3. Usage 3.1 Starting the server 3.2 Starting the clients 3.3 Starting the game
  4. Questions and Answers
  5. Copyright
  6. Additional Information, Clients

1. Introduction

Capitalist is a Monopoly(R)-like board game for 2-8 players. Walk around the board, buy properties, receive rent from your competitors, try to get monopolies to build houses and hotels on them and finally be the richest on the board.

Capitalist is server-based and can be played over the internet. This handbook describes the server.

1.1. Changes

1.1.1. v0.1

+o Initial Release

1.1.2. v0.2

+o debts

+o bankruptcy

+o allow animations for moving the token on client

+o (list incomplete)

1.1.3. v0.2.1

+o minor updates for gcc-3.x compatibility

2. Installation

2.1. How to obtain Capitalist

You can download the latest version of Capitalist at

.

2.2. Requirements

2.2.1. Server

There are no special requirements. It currently compiles only on linux (AFAIK), but there should not be any problems to port it to any other UNIX operating system. Feel free to try it and send me your patches.

2.2.2. Client

The client (Kapitalist) requires the following libraries/headers to compile and run:

+o KDE 3.x (tested on KDE 3.3.2)

+o Qt 3.x (tested on Qt 3.3.4)

Get them at .

2.3. Compilation and installation

In order to compile and install Capitalist on your system, type the following in the base directory of the Capitalist distribution:

       % ./configure
       % make
       % make install

Since Capitalist uses autoconf you should have no trouble compiling it. Should you run into problems please report them to the author.

3. Usage

3.1. Starting the server

Capitalist is server-based, so at first you have to start the server on a console with the command

% capitalist

which opens up a special server console with a prompt,

       This is the server for Capitalist version x.x
       Get more info at http://capitalist.sourceforge.net/

       1: Now accepting new client connections

       Get a list of the available commands with 'help'.
       > _

where you can type in commands like

       > help
       Available commands:
       -------------------------------------------------------------------
       help            - this help text
       list            - list players
       quit            - quit game and shutdown server
       start           - start game
       ...
       Abbreviations are allowed.
       > _

3.2. Starting the clients

In the next step, each player who wants to play in the game should join the game by starting a client (i.e. Kapitalist) and connecting to the server. When a game is in progress, there is one server running, and as many clients as there are human players.

So each player types

% kapitalist

on the commandline (or starts Kapitalist in the K-Menu) and connects by selecting Game->Connect. A Dialog appears where you must type in the correct hostname and port of the server (in many cases, the default, localhost:2525, is already ok). In addition you have to chose a suitable nickname.

3.3. Starting the game

Now there should be at least 2 players connected to the server, and the game can be started by typing

> start

on the server console. Now most of the action takes place in the client windows.

4. Questions and Answers

     Error: bind failed: address already in use
        You have to use a different port. The default port is 2525. You
        can tell the server to use a different port by giving '--port'
        as a command line argument:

          % capitalist --port 3456

     You can get a list of other available command line arguments by
     typing

          % capitalist --help

5. Copyright

Capitalist Copyright 2006 Daniel Hermann, hoermen@users.sourceforge.net

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

6. Additional Information, Clients

For additional information see the Capitalist Homepage


Sponsored Links

Discussion Groups
  Beginners
  Distributions
  Networking / Security
  Software
  PDAs

About | FAQ | Privacy | Awards | Contact
Comments to the webmaster are welcome.
Copyright 2006 Sourcefiles.org All rights reserved.