Giter VIP home page Giter VIP logo

cnsuhao / raceintospace Goto Github PK

View Code? Open in Web Editor NEW

This project forked from raceintospace/raceintospace

0.0 1.0 0.0 64.59 MB

This is the GitHub home of Race Into Space, the computer version of the Liftoff! board game by Fritz Bronner. It was developed by Strategic Visions and published by Interplay as a disk-based game in 1993 and a CD-ROM in 1994.

Home Page: http://www.raceintospace.org/

License: GNU General Public License v2.0

Shell 0.30% CMake 2.18% C++ 85.94% C 10.96% Objective-C 0.39% 1C Enterprise 0.01% Makefile 0.01% Perl 0.20%

raceintospace's Introduction

Race into Space Build Status

Race into Space is the free software version of Interplay's Buzz Aldrin's Race into Space. This is the reworked version following the source release for the computer version of the Liftoff! board game by Fritz Bronner. This was developed by Strategic Visions and published by Interplay as a disk-based game in 1992 and a CD-ROM in 1994.

The Race Into Space project home page is raceintospace.org, and the most recent stable releases are available from SourceForge. This repository contains a work-in-progress modernization of the game.

License

Race Into Space is distributed under GNU General Public License (GPL) version 2. You can find the terms and conditions in file COPYING.

Contributing

We coordinate development through the GitHub issue tracker. Feel free to report bugs, discuss tasks, or pick up work there. If you want to make changes, please fork, edit, and send us a pull request.

There's a .git-hooks directory in the root. This contains a pre-commit hook that verifies code styling before accepting changes. You can add this to your local repository's .git/hooks/ directory like:

$ cd raceintospace
$ ln -s ../../.git-hooks/pre-commit .git/hooks/pre-commit

Pull requests that don't match the project code style are still likely to be accepted after manually formatting and amending your changeset. The formatting tool (astyle) is completely automated; please try to use it.

Building

You need CMake.

The build system automatically finds, downloads, and/or compiles:

  • SDL
  • Boost
  • zlib
  • libpng
  • jsoncpp
  • libogg
  • libvorbis
  • libtheora
  • libprotobuf / protoc

The specifics of which things come from where depend on your platform.

On UNIXy systems (including Mac OS X), you can build everything with:

$ git clone git://github.com/raceintospace/raceintospace.git
$ mkdir raceintospace-build; cd raceintospace-build
$ cmake ../raceintospace
$ make

To download a copy of the game, go to the folder where you want the raceintospace subfolder to go, and run:

git clone https://github.com/raceintospace/raceintospace

Linux

We rely on the operating system to provide most of the dependencies. If you're on a Debian-based system, you can get everything with:

$ sudo apt-get install cmake libsdl-dev libboost-dev libpng-dev \
    libjsoncpp-dev libogg-dev libvorbis-dev libtheora-dev \
    libprotobuf-dev protobuf-compiler

If you don't already have git installed, you'll also have to run:

$ sudo apt install git

To compile the game quickly you can run a series of commands in-line. This creates a folder where the compiled game will be installed. If you want it named something other than raceintospace-go, simply change the name. The last two commands also run the game automatically.

mkdir raceintospace-go && cd raceintospace-go && cmake ../raceintospace && make && sudo make install && cd src/game && ./raceintospace

You can run these commands separately, or just run the ones you need (for instance, if you already have the folder you want the game installed to, there's of course no need to create it.

mkdir raceintospace-go
cd raceintospace-go
cmake ../raceintospace
make
sudo make install
cd src/game
./raceintospace

Mac OS X

You need CMake, which is readily obtained from Homebrew, which you probably have anyway. Homebrew also has a nice Boost package that doesn't cause any runtime linkage issues, so install that too:

$ brew install cmake boost

CMake automatically handles the other dependencies using the stuff in lib/. Mac OS X sometimes includes libpng, and sometimes it doesn't, so we build our own. We do, however, rely on the platform-provided zlib.

You might want to use Xcode for development. CMake can generate an Xcode project file:

$ git clone git://github.com/raceintospace/raceintospace.git
$ rm -r raceintospace-build; cd raceintospace-build
$ cmake -G Xcode ../raceintospace
$ open raceintospace.xcodeproj

Windows

Ingredients:

From here, use CMake-GUI or the command-line CMake to generate Visual Studio project files. Literally every dependency will be downloaded and compiled automatically.

For example (assuming code cloned in to c:\raceintospace):

# Change to "c:\"
md raceintospace-build
cd raceintospace-build
cmake ..\raceintospace
  • Start Visual Studio by opening "raceintospace.sln".
  • Right-click "ALL_BUILD" and choose "Build" (Everything will download and install)
  • Right-click on "Race Into Space" and choose "Set as startup project"
  • Right-click on "Race Into Space" and choose "Properties"
  • Open "Configuration Properties" and choose "Output Directory" and set it to the path for "raceintospace-build\local\bin"
  • Click on "Debugging" and edit "Environment". Add: BARIS_DATA=[path to raceintospace\data] BARIS_SAVE=.\save Click "run"

raceintospace's People

Contributors

artforz avatar bmoscon avatar cleric-k avatar gnarledbeach avatar joequant avatar kiyote avatar mkmccarty avatar peyre avatar sundhaug92 avatar tdi avatar willglynn avatar

Watchers

 avatar

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.