seehuhn / moon-buggy Goto Github PK
View Code? Open in Web Editor NEWdrive some car across the moon
Home Page: http://www.seehuhn.de/pages/moon-buggy
License: GNU General Public License v3.0
drive some car across the moon
Home Page: http://www.seehuhn.de/pages/moon-buggy
License: GNU General Public License v3.0
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 is not installing
Is moon-buggy removed??
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.
The dates of each score on the scoreboard are all the date that moon-buggy was installed, except for the top 3 scores.
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!!!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.