Skip to content

volkadav/spacetrader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

spacetrader

Screenshot

A simple TUI space trading/adventure game where you take the role of a down on their luck merchant adventurer trying to raise cash to get their starship out of the impound lot of the starport on an outlying colony world, Kepler's Reach.

Build

Requirements

  • a working C99 compiler
  • gnu make
  • ncurses (library and headers)
  • nfpm (if you want to build deb/rpm packages)
./configure
make

configure picks a working C99 compiler (preferring gcc, then clang, then cc, unless CC is set), detects a working curses setup (including BSD/Linux differences), and writes Makefile. It also detects GNU make (make or gmake) and generates a wrapper Makefile that delegates to it.

Install

Tested platforms

Tested on:

- amd64
    - Debian 13/Trixie (stable)
    - FreeBSD 15.0
    - OpenBSD 7.9
    - OmniOS r151054 (LTS) (slight ui glitches atm)
- arm64
    - Debian 13/Trixie (stable)
    - OpenBSD 7.9
    - MacOS Sequoia (15.7.7 w/ homebrew, xcode cli tools etc.)

(The code here is not that complex, so I suspect that most any POSIX-y platform with a working C99 compiler and ncurses available will work.)

Directions

make install

install places the binary in /usr/local/games, then /usr/games, and falls back to /usr/local/bin.
The man page is installed to the matching man6 location (/usr/local/share/man/man6 or /usr/share/man/man6).

You can override paths explicitly:

make install BINDIR=/custom/bin MAN6DIR=/custom/share/man/man6

To remove installed files:

make uninstall

Making deb/rpm packages

make pkg. You must have nfpm in your path.

Authors and License

See the AUTHORS and LICENSE files.

About

A simple TUI trading and survival game where you're a down on their luck merchant adventurer trying to make enough credits to get your ship out of the impound lot on an outlying colony world, Kepler's Reach.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors