Code Monkey home page Code Monkey logo

keldon-rftg-ai's Introduction

This is a program to play Race for the Galaxy against AI players.  Rules
for the game and expansions can be found at:

http://riograndegames.com/getFile.php?id=273
http://riograndegames.com/getFile.php?id=293
http://riograndegames.com/getFile.php?id=393
http://riograndegames.com/getFile.php?id=506
http://riograndegames.com/getFile.php?id=1813


AUTHORS

This program was created by Keldon Jones <[email protected]>.  Many
useful improvements, especially to the GUI, were made by B. Nordli
<BGG user borgemik>.

COMPILATION

A simple "./configure && make && make install" should suffice.  You
may need to install any development packages for libgtk.

RUNNING

Run with "./rftg".  You may specify number of players, expansion level,
etc with some command line options:

	-n <name>      -- Set the name of the human player
	-s <savegame>  -- Load a savegame when starting the program
	-r <num>       -- A seed to pick when initializing the random pool
	-p <num>       -- Number of players (including yourself)
	-a             -- Play a two-player advanced game
	-e <expansion> -- Expansion level to play:
				0: Base game only
				1: The Gathering Storm
				2: Rebel vs Imperium
				3: The Brink of War
				4: Alien Artifacts
	-g, -nog       -- Enable or disable goals
	-t, -not       -- Enable or disable takeovers

You may also change these setting once the game is running with the
"Select Parameters" option under the Game menu.

INTERFACE

Cards in your hand are displayed across the bottom of the window.  Your
active cards are just above, in the blue-shaded area.  Your opponents
active cards will be displayed in the top colored areas.

You may move your pointer over any card to see a full-sized version in
the upper-left.

In between your hand and active area is a prompt asking for your next
play.  Typically this is a request to choose an action, choose a card
to play or cards to discard, etc.  Select an action (or two actions if
playing the two-player advanced game) by using the action buttons.
Select cards to play or discard by clicking on them in your hand area.
When you are satisfied, click the "Done" button at the far right of the
prompt area.  This button will not be clickable if your current
selection is not legal.

You can right-click a card to select all other cards (for example, when
Exploring).

KEYBOARD SHORTCUTS

        F1:            Explore: +5
        Shift+F1:      Explore: +1, +1
        F2:            Develop
        Shift+F2:      Second Develop (in advanced game)
        F3:            Settle
        Shift+F3:      Second Settle (in advanced game)
        F4:            Consume-Trade
        Shift+F4:      Consume-x2
        F5:            Produce
        F6:            Search (The Brink of War)
        F7:            Prestige action (The Brink of War)

        F1-F9 and Shift+F1-Shift+F9:
                       Activate selectable cards in tableaux and hand
        F12/Shift+F12:
                       Select/deselect all selectable cards in hand

        Shift+Enter:   'Done' button
        Shift+Up/Down: Change selection in drop down
        F12:           Open selection drop down


BUGS

If you encounter a bug, especially an error in the rules implementation,
please report it to [email protected] .

LEGAL

The source code is copyrighted and is placed under the GPL.  For details,
see the file COPYING.

The original game of Race for the Galaxy was designed by Tom Lehmann and
published by Rio Grande Games.  Permission to distribute the card and
goal images has been granted by Rio Grande Games.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.