Coder Social home page Coder Social logo

seehuhn / moon-buggy Goto Github PK

View Code? Open in Web Editor NEW
87.0 7.0 17.0 458 KB

drive some car across the moon

Home Page: http://www.seehuhn.de/pages/moon-buggy

License: GNU General Public License v3.0

Shell 6.76% C 85.45% Makefile 1.89% M4 4.24% C++ 1.65%

moon-buggy's Introduction

moon-buggy - drive some car across the moon


INTRODUCTION:

   Moon-buggy is a simple character graphics game, where you drive some
kind of car across the moon's surface.  Unfortunately there are
dangerous craters there.  Fortunately your car can jump over them!

   Moon-Buggy comes with NO WARRANTY, to the extent permitted by law.
You may redistribute copies of Moon-Buggy under the terms of the GNU
General Public License.  For more information about these matters, read
the file COPYING of the source code distribution or press 'c' at
moon-buggy's title screen.

   Please mail any suggestions and bug reports to <[email protected]>.
Your message should include the moon-buggy version number, as obtained
by the command 'moon-buggy -V'.


INSTALLATION:

   Moon-buggy requires the curses library as a prerequisite.  If
curses is not installed on your system, you may use the free ncurses
package.  The game does not work with BSD curses, thus on BSD systems
you will need the ncurses package.

   Generic installation instructions are in the file INSTALL.  There
are some points of interest:

   * By default, the program will be installed as
     '/usr/local/bin/moon-buggy'.  You can specify an installation
     prefix other than '/usr/local' by giving 'configure' the
     '--prefix=PATH' option.

   * You can choose the score file's location via 'configure''s
     '--sharedstatedir' option.  On Linux you should use

          --sharedstatedir=/var/games

     to comply with the Filesystem Hierarchy Standard.

   * Moon-buggy supports shared score files.  As explained in
     moon-buggy's manual, you may want to make moon-buggy a setgid
     program.  This can be done with the '--with-setgid' option.  If
     you use

          --with-setgid=games

     then the installation process arranges everything for setgid usage.

     CAUTION: this introduces potential security risks.  I tried to
     minimise these, but nevertheless be careful with this.  And
     remember: moon-buggy comes with no warranty.

   * If your version of the curses library is not autodetected, you
     have to use some of the '--with-curses-includedir',
     '--with-curses-header', and '--with-curses-libs' options.  For
     example you should use

          --with-curses-includedir=/usr/pkg/include

     if your curses header files are in "/usr/pkg/include/".  You may
     use

          --with-curses-header="<mycurses.h>"

     if your curses header is called "mycurses.h".  And you may use

          --with-curses-libs="-L/usr/pkg/lib -lncurses"

     if your curses library is called "ncurses.a" and is located in
     "/usr/pkg/lib/".


   Example: On GNU/Linux systems you probably can use the following
commands.  For the last one you need root user permissions.

     ./configure --sharedstatedir=/var/games --mandir=/usr/share/man \
       --with-setgid=games
     make
     make install

moon-buggy's People

Contributors

seehuhn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

moon-buggy's Issues

Compile failure when using autoconf 2.71

Hi, moon-buggy does not compile (on macOS 10.15.7 or macOS 12.3; OS version probably irrelevant) when the configure script was generated by autoconf 2.71:

In file included from mode.c:9:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/usr/include/stdlib.h:66:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/usr/include/sys/wait.h:109:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/usr/include/sys/signal.h:155:
/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/usr/include/sys/_types/_size_t.h:31:32: error: cannot combine with previous 'type-name' declaration specifier
typedef __darwin_size_t        size_t;
                               ^
./config.h:124:25: note: expanded from macro 'size_t'
#define size_t unsigned int
                        ^

This happened because the configure script could not find size_t:

configure:5273: /usr/bin/clang -c -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk conftest.c >&5
In file included from conftest.c:35:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/usr/include/stdlib.h:66:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/usr/include/sys/wait.h:109:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/usr/include/sys/signal.h:156:
/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/usr/include/sys/_types/_uid_t.h:31:31: error: cannot combine with previous 'type-name' declaration specifier
typedef __darwin_uid_t        uid_t;
                              ^
conftest.c:27:15: note: expanded from macro 'uid_t'
#define uid_t int
              ^
In file included from conftest.c:50:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/usr/include/sys/types.h:109:
/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/usr/include/sys/_types/_gid_t.h:31:25: error: cannot combine with previous 'type-name' declaration specifier
typedef __darwin_gid_t  gid_t;
                        ^
conftest.c:28:15: note: expanded from macro 'gid_t'
#define gid_t int
              ^
2 errors generated.

which happened because it could not find uid_t:

configure:5241: checking for uid_t in sys/types.h
./configure: line 5252: -I/opt/local/include: No such file or directory
configure:5262: result: no

But I don't know yet why that happened.

There is no problem when the configure script was generated with autoconf 2.69 so something about your configure.ac file is probably incompatible with autoconf 2.71 and needs to be fixed, but I don't know what yet.

Score dates

The dates of each score on the scoreboard are all the date that moon-buggy was installed, except for the top 3 scores.

Outdated install documentation

Hi, I have very limited knowledge of building C projects. I hit a missing gap with the documentation here, and finally pointed it down to the same problem as here: nickjcroucher/gubbins#130 (comment)

After cloning the repo, I ran autoreconf -i and got to starting point that allowed me to stumble my way to a running game ;)

Thanks for the awesome game!!!

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.