Projekt Logikprogrammierung 2010

Das Spiel

„Ghoststories“ ist ein rundenbasiertes Brettspiel mit Spielkarten und Würfeln. Es wird mit 1-4 Spielern gemeinsam gegen „Das System“ gespielt und handelt sich daher um ein kooperatives Mehrspielerspiel. Eine umfangreichere Rezension gibt es z.B. unter brettspiele-report.de

Bei unserer Umsetzung für den PC benutzten wir die Logiksprache „SWI-Prolog“ für die Spiellogik und die in Prolog geschriebene „XPCE GUI“.
Die Implementation ist Netzwerkfähig (auch unter Windows) und besitzt ebenfalls eine „Hot-Seat“-Unterstützung für mehrere Spieler an einem PC. Beide Modi können auch gemischt benutzt werden.
Für die graphische Oberfläche nutzen wir die original Spielegraphiken (mit herzlichen Dank an Repos Production).

Screenshots

Spielanleitung

Die Anleitung zu unserer Implementation gibt es hier zum Download.

get it!

Alle benötigten Dateien inklusive des Quellcodes gibt es hier zum Download in verschiedenen Archiven. Es handelt sich immer um die gleichen Daten, aber in verschiedenen Archiv-Formaten um allen Betriebssystemen gerecht zu werden.

Sourcen

Installationshinweise

There are three shell scripts in the ghoststories root directory:
start_server.sh, start_client.sh and start.sh. These start a server or a client in a prolog shell or a simplistic dialog which lets you choose if you want to start a server or client. You are strongly advised to use only start.sh.
After starting the script you can choose between starting a server or client.

  1. Server
    1. Initialization
      You'll have to choose the port for client connections. Please be sure that your firewall is configured to open this port. Default configuration is 1337.
      Now you can click on "Open Server" to start the server. You may have to type "main." to initialize some settings.
    2. Running
      You can see the log messages at the textfield in the middle of the screen. To update the status of the connected player by clicking on the button below the log messages. You can also kick a player out of the game by pressing the "kick" button next to the player you want to kick.
    3. Exit
      To shutdown the server click on "Shutdown Server". After this you can close the window.
  2. Client
    1. Connection
      First be sure that there is a server running and that you know the ip address and port number. To connect to a server on you own machine set 127.0.0.1 as ip address.
      You'll also have to choose how many players want to play from the connection you want to open. You can also set a nickname.
      Now click on "Start client" to establish the connection.
    2. Running the game
      Please have a look at the manual of Ghost Stories.
    3. Exit
      Please click on Stop client before you close all windows.

Das Praktikum

Das Praktikum im NATS-Wiki

Das Team