bsdgames-osx

The classic bsdgames of yore, for Mac OS X.

  • 所有者: ctdk/bsdgames-osx
  • 平台:
  • 许可证: Other
  • 分类:
  • 主题:
  • 喜欢:
    0
      比较:

Github星跟踪图

bsdgames-osx: the classic bsdgames ported to Mac OS X

These are the classic bsdgames of old. They've been imported from DragonFly
BSD's sources (the games in Dragonfly BSD can be found at
http://gitweb.dragonflybsd.org/dragonfly.git/tree/v2.4.0:/games), along with
some patches from FreeBSD ports and a couple of games from NetBSD, and only
modified enough to get them to build on Mac OS X.

WARNING: These games could conceivably be a security risk (that's the warning I
remember seeing with bsdgames in FreeBSD). If this is a concern, don't install
them. I am also not responsible if they blow up your computer, lure aliens to
your house, run up huge credit card bills, eat your dog, or give you a menacing
side-eye. There's also NO WARRANTY, implied or otherwise.

*** hunt used to use hosts.allow and hosts.deny for access to the huntd server.
Mac OS 10.8 "Mountain Lion", however, has dropped tcp_wrappers from the
operating system. If you do run hunt on a server connected directly to the
Internet, use firewall rules to control who can connect to the huntd server
rather than hosts.allow and hosts.deny. ***

Games included are:

adventure 
arithmetic 
atc 
backgammon 
battlestar 
bcd 
bs 
caesar 
canfield 
ching
cribbage 
dab
factor 
fish 
gomoku
grdc 
hack 
hangman 
hunt 
larn 
mille 
number 
phantasia 
pig 
pom 
ppt 
primes 
quiz 
rain 
random 
robots 
rogue 
sail 
snake 
trek 
wargames 
worm 
worms 
wtf
wump

INSTALLATION

bsdmake is needed to build the games. If needed, you can install it out of
homebrew (it doesn't come with recent versions of Xcode).

These games have been built on Mac OS X 10.7 Lion through 10.12 Sierra. They
seem to build best with clang - if the compiler complains about redundant
declarations, "CC=clang bsdmake" seems to work wonders. Under 10.9 "Mavericks"
(or other OS X versions if a newer clang is installed), if the compiler is
complaining about "redefinition of typedef 'va_list' is a C11", add
CFLAGS="-std=c11" to the build command. With 10.12 Sierra, the
"-Wno-nullability-completeness" may be needed, so use CFLAGS="-std=c11
-Wno-nullability-completeness". For me it was defaulting to clang on Mountain
Lion, but to gcc on Lion. Other versions of Mac OS X have not been tested -
older versions may work, and newer versions may or may not depending on if there
have been breaking clang/XCode changes (which happens every couple of OS X
releases in my experience). Newer versions get tested when I get around to
upgrading one of my Macs.

Installation is pretty basic. The steps are to run "bsdmake", then "sudo
bsdmake install", and it will install in /usr/local (or elsewhere, if you edit
the Makefile). Homebrew formulae are available in the Homebrew/ directory to
make installing bsdgames-osx easier, as well as a more general homebrew tap for
some of my programs at https://github.com/ctdk/homebrew-ctdk that includes
bsdgames-osx. See BUGS for information for 10.7 users (at least), however.

BUGS

Currently, to the best of my knowledge, all games are building correctly.

Many of these programs have hard coded paths. Currently all of them are now
changed to sensible defaults under /usr/local, but if you want to install
somewhere that isn't /usr/local, you'll need to find and update the paths.

morse and piano have been removed because they depend on sound stuff that's not
readily available on OS X. dm was removed because, well, no one would want to
deal with it anyway.

fortune has been removed because it is readily available elsewhere, and in fact
has its own homebrew formula. It's best not to duplicate it here.

If you use the bsdmake in /usr/bin on 10.7 (and probably before), it will try
to install as root by default. Either install the bsdmake from homebrew and use
the homebrew version (you'll need to directly use the version in
/usr/local/Cellar) or set BINOWN, BINGRP, LIBOWN, LIBGRP, etc. to the user and
groups you want.

See the COPYRIGHT file & the source for the programs themselves. I claim no
authorship of them. Most of the games were imported from Dragonfly BSD, but
gomoku, dab, ching, and wtf were from NetBSD.

"AUTHOR"

For lack of a better term. The work porting the bsdgames to OS X was done by me,
Jeremy Bingham jbingham@gmail.com.

主要指标

概览
名称与所有者ctdk/bsdgames-osx
主编程语言C
编程语言C (语言数: 8)
平台
许可证Other
所有者活动
创建于2013-06-27 06:35:05
推送于2023-06-03 04:10:47
最后一次提交2019-05-14 18:48:55
发布数14
最新版本名称bsdgames-osx-2.19.4 (发布于 )
第一版名称bsdgames-osx-2.18.0-rc1 (发布于 )
用户参与
星数69
关注者数5
派生数14
提交数64
已启用问题?
问题数8
打开的问题数4
拉请求数2
打开的拉请求数1
关闭的拉请求数3
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?